DragonFly commits List (threaded) for 2005-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/usr.bin/su su.c
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]