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 07:38:16 PST
DragonFly src repository
Modified files:
lib/libc/stdlib getopt_long.c
Log:
Move the handling of '--' as argument into getopt_internal. Add a parameter
to getopt_internal and getopt_internal_short to activate support for long
options. Disable the special 'W' handling for getopt(). Correctly handle
long option like arguments ('--l') as arguments '-' and 'l'.
Revision Changes Path
1.3 +28 -38 src/lib/libc/stdlib/getopt_long.c
http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/getopt_long.c.diff?r1=1.2&r2=1.3&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]