Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make make: log adjustments of var.readOnly
details: https://anonhg.NetBSD.org/src/rev/b1230831c800
branches: trunk
changeset: 373207:b1230831c800
user: sjg <sjg%NetBSD.org@localhost>
date: Tue Jan 24 00:19:14 2023 +0000
description:
make: log adjustments of var.readOnly
diffstat:
usr.bin/make/var.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r a09d68841c0b -r b1230831c800 usr.bin/make/var.c
--- a/usr.bin/make/var.c Mon Jan 23 23:01:52 2023 +0000
+++ b/usr.bin/make/var.c Tue Jan 24 00:19:14 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: var.c,v 1.1037 2023/01/23 23:01:52 sjg Exp $ */
+/* $NetBSD: var.c,v 1.1038 2023/01/24 00:19:14 sjg Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -139,7 +139,7 @@
#include "metachar.h"
/* "@(#)var.c 8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: var.c,v 1.1037 2023/01/23 23:01:52 sjg Exp $");
+MAKE_RCSID("$NetBSD: var.c,v 1.1038 2023/01/24 00:19:14 sjg Exp $");
/*
* Variables are defined using one of the VAR=value assignments. Their
@@ -192,6 +192,7 @@
* The variable value cannot be changed anymore, and the variable
* cannot be deleted. Any attempts to do so are silently ignored,
* they are logged with -dv though.
+ * Use .[NO]READONLY: to adjust.
*
* See VAR_SET_READONLY.
*/
@@ -1235,6 +1236,7 @@
return;
}
v->readOnly = bf;
+ DEBUG2(VAR, "Var_ReadOnly: %s %s\n", name, bf ? "true" : "false");
}
/*
Home |
Main Index |
Thread Index |
Old Index