summaryrefslogtreecommitdiff
path: root/src/misc/getopt.c
AgeCommit message (Collapse)AuthorLines
2013-04-05Add ABI compatability aliases.Isaac Dunham-0/+2
GNU used several extensions that were incompatible with C99 and POSIX, so they used alternate names for the standard functions. The result is that we need these to run standards-conformant programs that were linked with glibc.
2012-09-30add getopt reset supportRich Felker-2/+11
based on proposed patches by Daniel Cegiełka, with minor changes: - use a weak symbol for optreset so it doesn't clash with namespace - also reset optpos (position in multi-option arg like -lR) - also make getopt_long support reset
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+63