Module Name: src Committed By: sjg Date: Sun Mar 6 04:34:25 UTC 2011
Modified Files: src/usr.bin/make: meta.c Log Message: CWD should be compared against cwd To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/usr.bin/make/meta.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/make/meta.c diff -u src/usr.bin/make/meta.c:1.9 src/usr.bin/make/meta.c:1.10 --- src/usr.bin/make/meta.c:1.9 Fri Mar 4 04:55:51 2011 +++ src/usr.bin/make/meta.c Sun Mar 6 04:34:25 2011 @@ -1091,7 +1091,7 @@ ln = Lst_Succ(ln); } } else if (strcmp(buf, "CWD") == 0) { - if (strcmp(p, curdir) != 0) { + if (strcmp(p, cwd) != 0) { if (DEBUG(META)) fprintf(debug_file, "%s: %d: the current working directory has changed from '%s' to '%s'\n", fname, lineno, p, curdir); oodate = TRUE;