Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc



Module Name:    basesrc
Committed By:   nathanw
Date:           Fri Jun  9 21:35:54 UTC 2000

Modified Files:
        basesrc/lib/libc/stdlib: getopt_long.c

Log Message:
Don't segfault when complaining about an invalid single-character option.

When complaining about a long option which requires an argument,
print the actual option, not some pointer-garbage.

(Hint: "%c" and "%s" are different.)


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 basesrc/lib/libc/stdlib/getopt_long.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index