NextBSD/src de409e3 — usr.bin/printenv printenv.c
Chase a cornercase in printenv and sync its behaviour with builtin's The cornercase is when printenv is passed a parameter in the form VAR=val, where VAR=val exists in the environment. In this case, printenv would print a spurious newline and returns 0. Approved by: cognet MFC after: 1 week
Delta | File | |
---|---|---|
+2 | -2 | usr.bin/printenv/printenv.c |
+2 | -2 | 1 files |