summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-02-10 14:52:14 +0000
committerharti <harti@FreeBSD.org>2005-02-10 14:52:14 +0000
commitf247b32ef036330de4136e903ff8c776fd139bba (patch)
treeab169eafd8a99f56e0f70ef9e30a70816aaf300d /usr.bin/make
parent9c56ede2b6e0a88b71bf3805c99bcf68500f114d (diff)
downloadFreeBSD-src-f247b32ef036330de4136e903ff8c776fd139bba.zip
FreeBSD-src-f247b32ef036330de4136e903ff8c776fd139bba.tar.gz
Mark the modification of the input string (which should really be const)
with a comment. Submitted by: Max Okumoto <okumoto@ucsd.edu>
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/var.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c
index f79f53b..13d9f95 100644
--- a/usr.bin/make/var.c
+++ b/usr.bin/make/var.c
@@ -987,7 +987,7 @@ Var_Parse(char *str, GNode *ctxt, Boolean err, size_t *lengthPtr,
}
haveModifier = (*tstr == ':');
- *tstr = '\0';
+ *tstr = '\0'; /* modify input string */
Buf_AddByte(buf, (Byte)'\0');
str = Buf_GetAll(buf, (size_t *)NULL);
OpenPOWER on IntegriCloud