Oops, missed a few more comments in previous.

This commit is contained in:
apb 2007-10-13 14:32:18 +00:00
parent a8bf2a2f8a
commit 781e1efd0c
1 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: var.c,v 1.120 2007/10/13 13:54:06 apb Exp $ */
/* $NetBSD: var.c,v 1.121 2007/10/13 14:32:18 apb Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@ -69,14 +69,14 @@
*/
#ifndef MAKE_NATIVE
static char rcsid[] = "$NetBSD: var.c,v 1.120 2007/10/13 13:54:06 apb Exp $";
static char rcsid[] = "$NetBSD: var.c,v 1.121 2007/10/13 14:32:18 apb Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)var.c 8.3 (Berkeley) 3/19/94";
#else
__RCSID("$NetBSD: var.c,v 1.120 2007/10/13 13:54:06 apb Exp $");
__RCSID("$NetBSD: var.c,v 1.121 2007/10/13 14:32:18 apb Exp $");
#endif
#endif /* not lint */
#endif
@ -3192,15 +3192,15 @@ ApplyModifiers(char *nstr, const char *tstr,
* ctxt The context for the variable
* errnum TRUE if undefined variables are an error
* lengthPtr OUT: The length of the specification
* freePtr OUT: Non-NULL if caller should free *freePtr
* freePtr OUT: Non-NULL if caller should free *freePtr
*
* Results:
* The (possibly-modified) value of the variable or var_Error if the
* specification is invalid. The length of the specification is
* placed in *lengthPtr (for invalid specifications, this is just
* 2...?).
* A Boolean in *freePtr telling whether the returned string should
* be freed by the caller.
* If *freePtr is non-NULL then it's a pointer that the caller
* should pass to free() to free memory used by the result.
*
* Side Effects:
* None.
@ -3520,7 +3520,7 @@ Var_Parse(const char *str, GNode *ctxt, Boolean errnum, int *lengthPtr,
VarFreeEnv(v, destroy);
} else if (v->flags & VAR_JUNK) {
/*
* Perform any free'ing needed and set *freePtr to FALSE so the caller
* Perform any free'ing needed and set *freePtr to NULL so the caller
* doesn't try to free a static pointer.
* If VAR_KEEP is also set then we want to keep str as is.
*/