Date: Sun, 25 Jan 2004 04:28:36 -0800 (PST) From: Ruslan Ermilov <ru@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/make str.c Message-ID: <200401251228.i0PCSaX1034807@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ru 2004/01/25 04:28:36 PST FreeBSD src repository Modified files: usr.bin/make str.c Log: 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; } } %%% Revision Changes Path 1.29 +5 -3 src/usr.bin/make/str.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401251228.i0PCSaX1034807>