freebsd-nq/usr.bin/make
Ruslan Ermilov a59f8cc52c Fixed a bug that previous revision has introduced -- we missed
the double quotes ("" and '') as a separate argument.

Reported by:	ache

The fix in this and previous revisions combined is functionally
equivalent to the below patch against rev. 1.27 but the code is
now much easier to follow:

%%%
Index: str.c
===================================================================
RCS file: /home/ncvs/src/usr.bin/make/str.c,v
retrieving revision 1.27
diff -u -r1.27 str.c
--- str.c	28 Oct 2002 23:33:57 -0000	1.27
+++ str.c	25 Jan 2004 12:09:21 -0000
@@ -168,7 +168,7 @@
 				inquote = (char) ch;
 				/* Don't miss "" or '' */
 				if (start == NULL && p[1] == inquote) {
-					start = t + 1;
+					start = t;
 					break;
 				}
 			}
%%%
2004-01-25 12:28:36 +00:00
..
lst.lib Use __FBSDID in the lst.lib files, to match to main make(1) files. It is 2002-10-09 02:00:22 +00:00
PSD.doc Remove another unused Makefile. 2003-02-03 04:15:53 +00:00
arch.c Remove efree(), it isn't used consistently enough to even pretend that it 2002-10-23 23:16:43 +00:00
buf.c Convert make(1) to use ANSI style function declarations. Variable 2002-10-09 03:42:10 +00:00
buf.h #define<space> -> #define<tab> 2002-09-17 21:29:06 +00:00
compat.c Make the -q option DTRT in the compat mode. 2003-10-03 21:33:39 +00:00
cond.c Keep up with minor changes to NetBSD. Consider a variable empty when 2003-09-07 02:16:10 +00:00
config.h #define<space> -> #define<tab> 2002-09-17 21:29:06 +00:00
dir.c Fix a bug that prevented exists() from finding "foo/", "foo/." 2003-10-02 21:30:30 +00:00
dir.h - Cut out the code that caches the "." directory out of Dir_Init() 2003-09-14 12:31:33 +00:00
for.c Command line variables take precedence over global variables. 2003-09-08 08:23:29 +00:00
hash.c Convert make(1) to use ANSI style function declarations. Variable 2002-10-09 03:42:10 +00:00
hash.h #define<space> -> #define<tab> 2002-09-17 21:29:06 +00:00
job.c Bootstrapping aid from pre-kqueue(2) systems, e.g. 4.0-RELEASE. 2002-12-01 13:38:25 +00:00
job.h Change the select timeout from 100ms to 2 seconds now that SIGCHILD is 2003-12-19 11:18:37 +00:00
list.h #define<space> -> #define<tab> 2002-09-17 21:29:06 +00:00
lst.h #define<space> -> #define<tab> 2002-09-17 21:29:06 +00:00
main.c Install a SIGCHLD handler so select(2) will be interrupted when a child 2003-12-13 15:26:27 +00:00
make.1 Revert previous commit, ru has ideas how to better document this 2004-01-21 17:58:33 +00:00
make.c Remove efree(), it isn't used consistently enough to even pretend that it 2002-10-23 23:16:43 +00:00
make.h Move utilitarian routines to util.c, which isn't the same as the old 2002-10-10 19:27:48 +00:00
Makefile Split var.c into var.c and var_modify.c and move all the modification funcs 2002-10-28 23:33:57 +00:00
Makefile.dist
nonints.h Split var.c into var.c and var_modify.c and move all the modification funcs 2002-10-28 23:33:57 +00:00
parse.c Finish the fix in revision 1.39 -- make(1)'s behavior is now 2002-11-28 12:47:56 +00:00
pathnames.h Back out the ``run shell from $PATH'' change; this was an overkill 2002-05-24 15:51:27 +00:00
sprite.h #define<space> -> #define<tab> 2002-09-17 21:29:06 +00:00
str.c Fixed a bug that previous revision has introduced -- we missed 2004-01-25 12:28:36 +00:00
suff.c Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ 2002-12-30 21:18:15 +00:00
targ.c Remove efree(), it isn't used consistently enough to even pretend that it 2002-10-23 23:16:43 +00:00
util.c Move utilitarian routines to util.c, which isn't the same as the old 2002-10-10 19:27:48 +00:00
var_modify.c In VarHead(), look into the correct (modified) string. 2002-10-29 12:11:56 +00:00
var.c Allow variable substitutions in SYSV variable substitutions like 2004-01-12 10:35:46 +00:00
var.h Split var.c into var.c and var_modify.c and move all the modification funcs 2002-10-28 23:33:57 +00:00