Module Name: src Committed By: kre Date: Mon Jan 31 16:54:28 UTC 2022
Modified Files: src/bin/sh: cd.c histedit.c Log Message: Add some comments explaining accesses to the environment via getenv()/setenv()/unsetenv() which manipulate the envornoment the shell was passed at entry. These are a little odd in sh as that environment is copied into the shell's internal variable data struct at shell startup, and normally never accessed after that - in builtin commands (test. printf, ...) getenv() is #defined to become an internal sh lookup function instead, so even those never use the startup environment). NFCI To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/bin/sh/cd.c cvs rdiff -u -r1.57 -r1.58 src/bin/sh/histedit.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.