DragonFly commits List (threaded) for 2005-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/lib/libc/stdlib getopt_long.c
joerg 2005/01/10 09:40:32 PST
DragonFly src repository
Modified files:
lib/libc/stdlib getopt_long.c
Log:
Fix two small bugs in getopt_long_only handling:
- a short option followed by a long option is parsed as that
(inspired by OpenBSD)
- the place variable has to be reset after long option parsing failed
Revision Changes Path
1.5 +4 -3 src/lib/libc/stdlib/getopt_long.c
http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/getopt_long.c.diff?r1=1.4&r2=1.5&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]