History log of /freebsd-10-stable/usr.bin/env/envopts.c
Revision Date Author Comments
# 280027 15-Mar-2015 jilles

MFC r279779: env: Fix crash when -S string is not empty but no operand
follows.

split_spaces() set argc in main() incorrectly, which caused trouble for
getopt().

Examples:
env -S '\c'
env -S -i

PR: 197769


# 280027 15-Mar-2015 jilles

MFC r279779: env: Fix crash when -S string is not empty but no operand
follows.

split_spaces() set argc in main() incorrectly, which caused trouble for
getopt().

Examples:
env -S '\c'
env -S -i

PR: 197769