Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make Use curdirOk as the token



details:   https://anonhg.NetBSD.org/src/rev/3b402f96cd7f
branches:  trunk
changeset: 763614:3b402f96cd7f
user:      sjg <sjg%NetBSD.org@localhost>
date:      Sun Mar 27 19:47:46 2011 +0000

description:
Use curdirOk as the token

diffstat:

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

diffs (32 lines):

diff -r accb0d160ec3 -r 3b402f96cd7f usr.bin/make/make.1
--- a/usr.bin/make/make.1       Sun Mar 27 19:39:21 2011 +0000
+++ b/usr.bin/make/make.1       Sun Mar 27 19:47:46 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: make.1,v 1.184 2011/03/27 19:39:21 sjg Exp $
+.\"    $NetBSD: make.1,v 1.185 2011/03/27 19:47:46 sjg Exp $
 .\"
 .\" Copyright (c) 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -780,7 +780,7 @@
 is available, the system calls which are of interest to
 .Nm .
 The captured output can be very useful when diagnosing errors.
-.It Pa curdir= Ar bf
+.It Pa curdirOk= Ar bf
 Normally
 .Nm
 will not create .meta files in
diff -r accb0d160ec3 -r 3b402f96cd7f usr.bin/make/meta.c
--- a/usr.bin/make/meta.c       Sun Mar 27 19:39:21 2011 +0000
+++ b/usr.bin/make/meta.c       Sun Mar 27 19:47:46 2011 +0000
@@ -550,8 +550,8 @@
            writeMeta = FALSE;
        if (strstr(make_mode, "nofilemon"))
            useFilemon = FALSE;
-       if ((cp = strstr(make_mode, "curdir="))) {
-           metaCurdirOk = boolValue(&cp[7]);
+       if ((cp = strstr(make_mode, "curdirok="))) {
+           metaCurdirOk = boolValue(&cp[9]);
        }
        if (strstr(make_mode, "ignore-cmd"))
            metaIgnoreCMDs = TRUE;



Home | Main Index | Thread Index | Old Index