Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | move insque(3) and remque(3) from libcompat -> libc; they are now POSIX | millert | 2003-05-08 | 4 | -8/+209 | |
| | ||||||
* | move lsearch(3) and insque(3) from libcompat -> libc; they are now POSIX | millert | 2003-05-08 | 3 | -7/+205 | |
| | ||||||
* | Add support for command line args in rshprog, e.g. "ssh -C". | millert | 2003-05-05 | 2 | -11/+53 | |
| | ||||||
* | typo in STANDARDS (this man page is getnameinfo, not getaddrinfo); | jmc | 2003-05-03 | 1 | -2/+2 | |
| | | | | from wiz@netbsd | |||||
* | typos; | jmc | 2003-05-01 | 6 | -16/+15 | |
| | ||||||
* | typos; | jmc | 2003-05-01 | 2 | -19/+19 | |
| | | | | ok itojun@ | |||||
* | typos; | jmc | 2003-05-01 | 1 | -4/+4 | |
| | | | | ok jakob@ | |||||
* | always widen the imputed netmask if it is narrower than the specified octets. | henning | 2003-04-25 | 1 | -3/+3 | |
| | | | | | | | | | fixes a strange behaviour where inet_net_pton would always return 4 (bits) for multicast addresses no matter how many octets were specified. negotiated with Paul Vixie, original author of this function. ok millert@ | |||||
* | Mention that stroul() et al *do* accept negative numbers, they | millert | 2003-04-21 | 1 | -1/+6 | |
| | | | | just (effectively) cast to unsigned. ho@ OK | |||||
* | Change copyright to a less restrictive ISC-style license to encourage | millert | 2003-04-12 | 3 | -68/+35 | |
| | | | | people to bundle this code. | |||||
* | make the second example valid; ok millert@ | jsyn | 2003-04-10 | 1 | -3/+4 | |
| | ||||||
* | makeing local table static saves some bytes; idea from mickey@ | markus | 2003-04-09 | 1 | -2/+2 | |
| | ||||||
* | Xr to strlcpy and strlcat more; ok millert | deraadt | 2003-04-07 | 5 | -8/+13 | |
| | ||||||
* | sprintf -> snprintf | tdeval | 2003-04-05 | 1 | -6/+12 | |
| | | | | ok tedu@, hints deraadt@, millert@ | |||||
* | strcpy/strcat -> strlcpy/strlcat | tdeval | 2003-04-05 | 1 | -3/+4 | |
| | | | | ok tedu@, hints by deraadt@ and millert@ | |||||
* | strcat -> strlcat | hin | 2003-04-04 | 1 | -3/+3 | |
| | | | | ok deraadt@ tedu@ tdeval@ | |||||
* | Use snprintf instead of a strcpy(), strncat() and strcat() sequence | millert | 2003-04-02 | 1 | -5/+4 | |
| | | | | deraadt@ OK | |||||
* | fifo -> FIFO | jmc | 2003-04-02 | 1 | -2/+2 | |
| | | | | ok millert@ | |||||
* | use strlcpy(); assumes buf is at least ndigit bytes long which is as | millert | 2003-04-02 | 1 | -4/+7 | |
| | | | | safe as we can get. deraadt@ OK | |||||
* | If hostname != NULL, hostname is not a numeric string, and AI_NUMERICHOST | jason | 2003-03-17 | 1 | -3/+3 | |
| | | | | is set, return EAI_NONAME like RFC2553 specifies. millert/itojun ok. | |||||
* | ANSI function headers | millert | 2003-03-14 | 2 | -12/+6 | |
| | ||||||
* | a few more strlcy; ok from beck & ho | deraadt | 2003-03-13 | 2 | -6/+6 | |
| | ||||||
* | signed/unsigned mixup. KAME PR 469 by Olivier Courtay. | itojun | 2003-03-07 | 1 | -2/+3 | |
| | ||||||
* | .Xr typos; | jmc | 2003-03-06 | 1 | -2/+2 | |
| | ||||||
* | .Xr's; | jmc | 2003-03-06 | 2 | -4/+4 | |
| | | | | | | typos in man page section ok deraadt@ | |||||
* | Fix a pasto. (There is no ULLONG_MIN, for hopefully obvious reasons) | kjell | 2003-03-06 | 1 | -4/+2 | |
| | | | | ok millert | |||||
* | date should be written formally: .Dd Month day, year | david | 2003-03-06 | 2 | -4/+4 | |
| | | | | ok henning@ jmc@ | |||||
* | missing #include in SYNOPSIS, found by Daniel Lucq | henning | 2003-03-04 | 1 | -1/+2 | |
| | | | | ok millert@ | |||||
* | strlcpy, check retval from sprintf | itojun | 2003-03-04 | 3 | -11/+18 | |
| | ||||||
* | s/strncpy/strlcpy/ | itojun | 2003-03-04 | 1 | -4/+4 | |
| | ||||||
* | Use int32_t, not long since this deals with 32bit quantities. | millert | 2003-02-28 | 1 | -20/+20 | |
| | | | | Inspired by a change in NetBSD and reported by Jan Johansson. | |||||
* | Fix bogus inet_net_pton() translation example. | cedric | 2003-02-24 | 1 | -2/+2 | |
| | | | | ok henning@ | |||||
* | of of | deraadt | 2003-02-24 | 1 | -2/+2 | |
| | ||||||
* | fix a variety of missing or wrong MLINKS | deraadt | 2003-02-20 | 1 | -1/+2 | |
| | ||||||
* | re-stir if pid changes; markus & me | deraadt | 2003-02-14 | 1 | -3/+5 | |
| | ||||||
* | thread safer libc (note: safer, not safe) | marc | 2003-01-28 | 12 | -265/+348 | |
| | | | | | | | | | | Access to the global _res structure replaced by pointers to a per thread instance. If unthreaded the pointer is to the global structure. Also replaced a 64k stack array with malloc-ed memory so threaded aps (with a default 64k stack) have a chance at working. ok deraadt@ | |||||
* | typos; | jmc | 2003-01-21 | 1 | -3/+3 | |
| | | | | ok deraadt@ | |||||
* | inet6 fixes from jmc@prioris.mini.pw.edu.pl | deraadt | 2003-01-18 | 2 | -21/+13 | |
| | ||||||
* | Add sanity check to prevent int oflow for very large allocations. | millert | 2003-01-14 | 1 | -3/+11 | |
| | | | | | Also fix a signed vs. unsigned issue while I am at it. Found by Jim Geovedi. OK deraadt@ | |||||
* | more writeable -> writable by torh | henning | 2002-12-15 | 1 | -2/+2 | |
| | ||||||
* | use proper __findenv() prototype; millert@ ok | mickey | 2002-12-10 | 2 | -8/+8 | |
| | ||||||
* | Document BSD behavior of accepting '-' within optstring as long as | millert | 2002-12-10 | 1 | -5/+25 | |
| | | | | | | | | it is not the fist character of optstring (since that would conflict with GNU semantics). Update the bit on "W;" within optstring when called as getopt (not getopt_long) to current reality. | |||||
* | When doing permutation, only treat "-" as an option if it was specified | millert | 2002-12-10 | 1 | -4/+5 | |
| | | | | in optstring. Problem noticed by Theo. | |||||
* | Fix pasto, spotted by lebel@ | millert | 2002-12-08 | 1 | -2/+2 | |
| | ||||||
* | In BUGS section, append a warning to not use '-' as the first character | millert | 2002-12-08 | 1 | -3/+13 | |
| | | | | of optstring to avoid a semantic conflict with GNU getopt. | |||||
* | SUS (and apparently 1003.1-2001) say to check optstring for NULL | millert | 2002-12-08 | 2 | -4/+9 | |
| | ||||||
* | If we are passed "-" in argv and the user didn't specify '-' in optstring, | millert | 2002-12-08 | 1 | -6/+10 | |
| | | | | return -1 like POSIX requires. | |||||
* | BSD getopt() supports '-' in the optstring so we should too. | millert | 2002-12-08 | 1 | -8/+15 | |
| | | | | This is used by a few programs such as man and su. | |||||
* | Fix pasto in last commit. | millert | 2002-12-07 | 1 | -3/+3 | |
| | ||||||
* | For getopt_long_only() we *do* want to match single-character options | millert | 2002-12-07 | 1 | -41/+36 | |
| | | | | | as shortcuts for long ones, but only if this would not conflict with a short option in optstring. Now binutils gas works. |