Module Name: src Committed By: sjg Date: Mon Jun 4 20:34:21 UTC 2012
Modified Files: src/usr.bin/make: make.h util.c var.c Log Message: Var_UnExport() and setenv() can both realloc environ. Use a common variable (savedEnv) to track that to avoid wasting memory. Also, if providing setenv and unsetenv, do getenv too to ensure a consistent set. To generate a diff of this commit: cvs rdiff -u -r1.87 -r1.88 src/usr.bin/make/make.h cvs rdiff -u -r1.51 -r1.52 src/usr.bin/make/util.c cvs rdiff -u -r1.169 -r1.170 src/usr.bin/make/var.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.