1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
freebsd/usr.bin/env
Jilles Tjoelker 6ab1d4d9c3 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
MFC after:	1 week
2015-03-08 14:12:43 +00:00
..
env.1
env.c
envopts.c env: Fix crash when -S string is not empty but no operand follows. 2015-03-08 14:12:43 +00:00
envopts.h
Makefile