cvs commit: src/usr.bin/su su.c
Joerg Sonnenberger
joerg at crater.dragonflybsd.org
Mon Mar 14 03:56:18 PST 2005
joerg 2005/03/14 03:55:33 PST
DragonFly src repository
Modified files:
usr.bin/su su.c
Log:
SUS says that getopt() should return -1 immediately if the argument is "-".
Correctly handle this case. We formerly depended on the (undocumented)
behaviour of getopt to return this as '-' option.
Revision Changes Path
1.8 +6 -0 src/usr.bin/su/su.c
http://www.dragonflybsd.org/cvsweb/src/usr.bin/su/su.c.diff?r1=1.7&r2=1.8&f=u
More information about the Commits
mailing list