summaryrefslogtreecommitdiff
path: root/src/getopt1.c
AgeCommit message (Collapse)AuthorLines
2022-01-16remove local getopt_long() implementationGuilherme Janczak-173/+0
getopt_long() is widely supported these days, removing it from the source tree should be okay. Here's documentation or the implementation of getopt_long on many systems: All the BSDs: https://man.netbsd.org/NetBSD-9.2-STABLE/getopt_long.3 https://man.openbsd.org/OpenBSD-7.0/getopt_long https://www.freebsd.org/cgi/man.cgi?query=getopt_long https://leaf.dragonflybsd.org/cgi/web-man?command=getopt_long Illumos (OpenSolaris fork): https://illumos.org/man/3c/getopt_long The musl, newlib, and uclibc-ng libcs: https://gogs.waldemar-brodkorb.de/oss/uclibc-ng/src/master/libc/unistd/getopt_long-simple.c#L49-L52 https://git.musl-libc.org/cgit/musl/tree/src/misc/getopt_long.c#n140 https://sourceware.org/git/?p=newlib-cygwin.git;a=blob;f=newlib/libc/stdlib/getopt.c;h=d4f225a7a735dc741d2874eb6c131b6fce2967c5;hb=HEAD#l475 Mingw-w64: https://github.com/mirror/mingw-w64/blob/master/mingw-w64-crt/misc/getopt.c#L542-L549 Mac OS X: https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man3/getopt_long.3.html
2010-06-04Revert "Remove unused files getopt.c und getopt1.c"Daniel Friesel-0/+173
This reverts commit a5ba357a4ff1437e805029ec177d8bda7f415c5f. These files may have been here for non-glibc compatibility, as other libcs apparently not neccessarily introduce getopt_long. I'm planning to test this, but as it may take a while until I get my hands on a suitable test system it definitely won't hurt to revert this until then.
2010-05-31Remove unused files getopt.c und getopt1.cDaniel Friesel-173/+0
2010-03-21Remove autoconf (from branch 'autocruft')Daniel Friesel-4/+0
Use config.mk for configuration, both GNU make and FreeBSD make are supported.
2010-02-13Change source code indentation (indent -kr -i8 -hnl, mainly)Daniel Friesel-105/+95
2010-02-05Initial commit (upstream 1.3.4)Daniel Friesel-0/+187