Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make CWD should be compared against cwd



details:   https://anonhg.NetBSD.org/src/rev/470a0252b43c
branches:  trunk
changeset: 762936:470a0252b43c
user:      sjg <sjg%NetBSD.org@localhost>
date:      Sun Mar 06 04:34:25 2011 +0000

description:
CWD should be compared against cwd

diffstat:

 usr.bin/make/meta.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 20796436da98 -r 470a0252b43c usr.bin/make/meta.c
--- a/usr.bin/make/meta.c       Sun Mar 06 04:10:55 2011 +0000
+++ b/usr.bin/make/meta.c       Sun Mar 06 04:34:25 2011 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index