summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e/mac_set.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2008-03-07 00:01:19 +0000
committerdelphij <delphij@FreeBSD.org>2008-03-07 00:01:19 +0000
commit6d5f005346f78f0ceca2a2355a7f20af1e6e78da (patch)
tree7a6a616969e21be00257901673a6a845ecbb005f /lib/libc/posix1e/mac_set.c
parentaf9b2bc27f12b3a899199627272d13e24eb6672d (diff)
downloadFreeBSD-src-6d5f005346f78f0ceca2a2355a7f20af1e6e78da.zip
FreeBSD-src-6d5f005346f78f0ceca2a2355a7f20af1e6e78da.tar.gz
Merge revisions 1.10 and 1.11 from DragonFly:
- Use real getopt() handling instead of the hand-rolled and IOCCC-worthy "Micro getopt()" macros, plus clean up to the option handling code: * Sort the options in the switch statement; * Plug piddling memory leaks when processing repeated options by freeing strings before allocating them for a second time; * Die with a fatal error if the requested report file cannot be opened for appending; * Don't call init() before usage() (to prevent the usage message being mangled by changes to the terminal settings;) - Clean up the usage message, both in usage() and in the main program comment, both stylistically (sort and combine options) and for accuracy (following the manual page, make note of the -s and -S flags, and use the term 'send' instead of 'say' to reduce confusion (SAY is the name of a command for output to the user, not the connection.)) Obtained from: DragonFly
Diffstat (limited to 'lib/libc/posix1e/mac_set.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud