summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/getopt.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2000-09-26no need to use goto..ericj1-22/+22
2000-09-26Implement a function for errorsericj1-62/+79
it pays attention to h_error so we now have no need to handle this ourselves.
2000-09-26some warnings should only be shown with -vericj1-10/+11
2000-09-26remove -e option, which wasnt on anywayericj1-8/+1
2000-09-26Alot of cleanups to netcatericj2-1207/+571
use errx/warn instead of homegrown functions indent properly to make the code readable get rid of generic.h as its not used dont declare optarg register is depreciated get rid of undocumented options -a and -e throw out IP_OPTIONS code for now, its not on by default and doesnt work properly make usage more like other bsd commands
2000-09-25fix off-by-1 error.itojun1-9/+8
From: Pavel Kankovsky <peak@argo.troja.mff.cuni.cz>
2000-09-22IPng -> IPv6aaron1-2/+2
2000-09-22ipx_addr(3) takes a const char *.millert1-2/+2
2000-09-08typo in comment, AILASES -> ALIASESbrad1-2/+2
2000-09-05des_modes(7) not des_modes(7); jmd@turbogeek.orgderaadt2-4/+7
2000-08-31on /etc/hosts lookup, set "official host name" (the leftmost hostname)itojun1-4/+7
into ai_canonname. this is to synchronize with practice in gethostby*. comment from ume@mahoroba.org. sync with kame.
2000-08-22Wallderaadt5-5/+11
2000-08-13strings are NUL-terminated, not NULL-terminatedderaadt1-4/+4
2000-08-09document that the current implementation is not thread-safe. sync with kame.itojun2-6/+11
From: "Greg Thompson" <johnnyteardrop@hotmail.com>
2000-08-09More of the same.aaron1-2/+3
2000-08-09For man pages that describe multiple functions, split the .Nm argumentsaaron4-8/+15
onto separate lines in the NAME section.
2000-08-09Remove trailing blank lines.aaron1-2/+1
2000-08-02return error if salt is too small; pr 1336provos1-1/+4
2000-08-02$HOME paranoia: never use getenv("HOME") w/o checking for NULL and non-zeromillert2-2/+2
2000-07-30avoid buffer overrun on too-long reply for NIS hostname lookup.itojun1-7/+9
2000-07-25a quick fix, and then i run away screaming in terrorderaadt1-1/+2
2000-07-25document pitfall cases in argument parsing. sync with kame.itojun1-3/+64
2000-07-10Typo & style fix.ian1-3/+3
2000-07-09reject empty scopeid/numeric portname. sync with kame.itojun1-9/+16
2000-07-08Move option flags that don't require arguments to the first of the list inaaron1-2/+2
the SYNOPSIS section to be more consistent with our other man pages.
2000-07-07use %s with fprintfderaadt3-5/+5
2000-07-07If the timeout is not set, don't send a zeroed timeout to select.art1-2/+8
This solves the problem with nc hogging all cpu.
2000-07-06i feel dirty whenever i edit in herederaadt1-1/+1
2000-07-06do not assume h_errs[] is clean, use %sderaadt1-1/+1
2000-07-06Insert more missing .El directives. Our troff really should identify these andaaron1-1/+2
spit out a warning.
2000-07-05return EAI_NODATA, instead of EAI_NONAME, on name resolution errors.itojun1-18/+18
EAI_NONAME does not make sense in these situations. from kame. From: enami@netbsd.org
2000-07-02knf; ouch, that hurtsmickey1-6/+7
2000-07-02new version of ffs from drahn@mickey1-38/+28
combines binary search and table lookup. tested on i386, sparc, ppc, hppa
2000-06-30typo in RFC number. KAME PR 263itojun2-6/+6
2000-06-22add paper by cmetz. correct example. (sync with kame)itojun2-13/+43
2000-06-22ipv6 support in resolver. "nameserver" line in /etc/resolv.conf now takesitojun2-47/+270
ipv6 address.
2000-06-18note get{addr,name}info are recommended than inet_xx.itojun1-1/+7
2000-06-15RSA goes in tree for next our next release, as it will be afterbeck7-69/+647
Sept 21. Note: This means you shouldn't really be running -current for anything in the United States. Either wait for Sept 21, or for the next release, or move to the free world :)
2000-06-12correct ENI_SALEN case to meet rfc2553bis.itojun1-3/+3
2000-06-12correct behavior against invalid sockaddr. previous code may return 0itojun1-9/+9
(success) on invalid sockaddr. sync with rfc2553bis regarding to getnameinfo error code. (sync with kame)
2000-06-01State explicitly that strlc{py,at} only work on real C strings.millert1-3/+22
Clarify point about always NUL-terminating.
2000-05-17nroff fixes (correct Dt, linebreak).itojun2-11/+8
2000-05-15correct type of 2nd argument to meet RFC2553. (this should raise no ABIitojun1-6/+6
problem due to type promotion). PR 1228.
2000-05-15translate DNS error code into getaddrinfo error code (EAI_xxx). PR 1229.itojun1-2/+27
2000-04-30#ifdef vax -> #ifdef __vax__bjc1-2/+2
2000-04-28fleshderaadt1-3/+23
2000-04-28improve the englishderaadt1-4/+5
2000-04-28type decl errorderaadt1-3/+3
2000-04-27remove unused struct def. more sanity check for NULL.itojun1-16/+16
2000-04-26const poisoningitojun1-16/+21