Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | strcasestr(3), a case-insensitive version of strstr(3). already in netbsd | deraadt | 2005-03-30 | 3 | -17/+88 | |
| | | | | | | and freebsd, apparently written by torek, the man we never see anymore; submitted by jcs, but he is not around right now for the libc major crank so i sneak it in for him | |||||
* | Be correct in our man pages when talking about NUL termination (that is, | cloder | 2005-02-25 | 14 | -34/+34 | |
| | | | | | termination with '\0') vs. null termination. Input from krw@, jaredy@, jmc@. OK deraadt@ | |||||
* | typos, then -> than, from Michael Knudsen | jaredy | 2004-12-10 | 1 | -2/+2 | |
| | ||||||
* | repair libkern support (again) and add rcsids | mickey | 2004-11-28 | 7 | -13/+31 | |
| | ||||||
* | Missed this in the __strerror() removal. | millert | 2004-05-03 | 1 | -2/+2 | |
| | ||||||
* | No longer need __strerror(3) now that we use strerror_r() inside libc. | millert | 2004-05-03 | 1 | -46/+0 | |
| | ||||||
* | Do a better job of documenting strerror_r() and add an ERRORS section. | millert | 2004-05-03 | 1 | -15/+43 | |
| | ||||||
* | build the error message in strerror_r.c directly, avoiding one copy there. | espie | 2004-05-03 | 3 | -120/+109 | |
| | | | | | | | | handle a few subtle details caught by the regression tests: correct termination, non copying if buffer length == 0, errno setting. let all former users of __strerror go through strerror_r. Work by Todd Miller and I. Okay millert@. | |||||
* | let __strerror fill precisely the part of the buffer it can. | espie | 2004-05-01 | 1 | -17/+18 | |
| | | | | okay millert@ | |||||
* | Let __strerror work by fixing a number of problems. Work by tholo and I, | espie | 2004-04-30 | 1 | -22/+52 | |
| | | | | | | | | okay millert@. - atoi was bogus. - atoi was not reentrant. - there's no reason to cast stuff to unsigned int. | |||||
* | make Nm match Dt; | jmc | 2004-02-10 | 1 | -10/+2 | |
| | ||||||
* | make Nm match Dt; found by pb@ | jmc | 2004-02-09 | 1 | -23/+2 | |
| | | | | some of this ok espie@, all of it ok deraadt@ | |||||
* | Fix the example code. The loop invariant 'i' was not bound by MAXTOKENS | millert | 2004-01-20 | 1 | -3/+3 | |
| | | | | | which could result in writing a NUL byte outside of tokens[]. A fix, from Patrick Latifi, is to move the increment into the "i < MAXTOKENS - 1" block. | |||||
* | standards compliant strxfrm. much simpler too. fixes sorting in glib2. | tedu | 2003-09-06 | 1 | -16/+4 | |
| | | | | ok deraadt@ espie@ marcm@ | |||||
* | escape punctuation; | jmc | 2003-09-02 | 1 | -2/+2 | |
| | | | | ok deraadt@ | |||||
* | warn about unsafe APIs at link time. Conditional on libc/Makefile defining | deraadt | 2003-07-24 | 2 | -8/+14 | |
| | | | | | APIWARN; disabled by default. In use by many developers for quite some time, now they have a common knob to enable/disable this | |||||
* | clarify these functions by changing references from strings to buffers | avsm | 2003-06-21 | 3 | -16/+16 | |
| | | | | ok deraadt@, millert@, jmc@, suggested by espie@ | |||||
* | Sync with share/misc/license.template and add missing DARPA credit | millert | 2003-06-17 | 3 | -26/+26 | |
| | | | | where applicable. | |||||
* | ansification, pval ok | deraadt | 2003-06-11 | 2 | -9/+6 | |
| | ||||||
* | ansification; pval ok | deraadt | 2003-06-11 | 23 | -127/+84 | |
| | ||||||
* | Remove the advertising clause in the UCB license which Berkeley | millert | 2003-06-02 | 66 | -401/+137 | |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | |||||
* | typos; | jmc | 2003-05-10 | 3 | -6/+6 | |
| | ||||||
* | Change copyright to a less restrictive ISC-style license to encourage | millert | 2003-04-12 | 3 | -68/+35 | |
| | | | | people to bundle this code. | |||||
* | Xr to strlcpy and strlcat more; ok millert | deraadt | 2003-04-07 | 5 | -8/+13 | |
| | ||||||
* | fifo -> FIFO | jmc | 2003-04-02 | 1 | -2/+2 | |
| | | | | ok millert@ | |||||
* | 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 | |
| | ||||||
* | fix a variety of missing or wrong MLINKS | deraadt | 2003-02-20 | 1 | -1/+2 | |
| | ||||||
* | Add strerror_r and functions versions of getchar_unlocked and | marc | 2002-11-21 | 3 | -3/+53 | |
| | | | | putchar_unlocked. Crank the minor on related libs. OK fgs@, deraadt@ | |||||
* | Convert to ANSI function headers and make 'ch' argument int, not char. | millert | 2002-07-24 | 2 | -8/+6 | |
| | | | | Noticed by deraadt@ | |||||
* | For strncpy(), dst is not NUL terminated if strlen(src) >= len. | millert | 2002-05-13 | 1 | -6/+5 | |
| | | | | Also fix a typo; adapted from a patch by Moritz Jodeit | |||||
* | Initial cleanup: | mpech | 2002-04-30 | 1 | -2/+2 | |
| | | | | | | | | | | | | o) remove extra space in the end of line; o) remove extra blank lines in the end of file; o) remove .Pp before .Ss; o) CAVEAT -> CAVEATS; o) fix usage of .Fa; o) <blank-line> -> .Pp; o) wrap long lines; millert@ ok | |||||
* | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | millert | 2002-02-16 | 2 | -4/+4 | |
| | | | | hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||||
* | when strerror() has an Unknown error, also set EINVAL | deraadt | 2001-12-08 | 1 | -3/+8 | |
| | ||||||
* | 2nd param is const | deraadt | 2001-11-21 | 1 | -2/+2 | |
| | ||||||
* | K&R promotion is not the whole story. Make things explicit. | espie | 2001-09-07 | 1 | -2/+2 | |
| | ||||||
* | make debug libs build again | mickey | 2001-09-05 | 1 | -1/+21 | |
| | ||||||
* | o) We always close .Bl and .Bd tags; | mpech | 2001-08-06 | 1 | -2/+1 | |
| | | | | | | | | | | o) .Sh AUTHOR -> .Sh AUTHORS; o) We don't like .Pp before/after .Sh; o) We don't like .Pp before/after .Rs/.Re; o) NetBSD -> .Nx; o) OpenBSD -> .Ox; millert@ ok | |||||
* | Minor style pedentry from ben@arbor.net plus some of my own and sync | millert | 2001-07-29 | 1 | -7/+10 | |
| | | | | libkern and libc versions. | |||||
* | use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok. | lebel | 2001-06-27 | 2 | -12/+8 | |
| | ||||||
* | more .%A handling; bk@rt.fm | deraadt | 2001-06-23 | 1 | -2/+3 | |
| | ||||||
* | Clarify that if strlcat() does not find a NUL within siz byte it | millert | 2001-06-18 | 1 | -2/+4 | |
| | | | | will not NUL terminate either. | |||||
* | Fix a buf oflow in EXAMPLES code; millert@ ok | aaron | 2001-06-14 | 1 | -3/+6 | |
| | ||||||
* | type of function on seperate line | deraadt | 2001-05-13 | 2 | -6/+8 | |
| | ||||||
* | Document boundary condition when size < strlen(dst). | millert | 2001-05-07 | 1 | -1/+20 | |
| | ||||||
* | Back out last change, it is intended behavior and update the block | millert | 2001-05-07 | 1 | -5/+5 | |
| | | | | comment to reflect this fact. Too early in the morning for me I guess. | |||||
* | strlcat() should return strlen(dst) + strlen(src) when size parameter | millert | 2001-05-07 | 1 | -3/+3 | |
| | | | | | <= strlen(dst). Bug report by mark.murnane@ireland.sun.com via the GNOME folks. | |||||
* | Sync function comment with man page; fanf@covalent.net | millert | 2001-01-13 | 1 | -3/+3 | |
| | ||||||
* | Reverse the order of two loop invariant to make 'strlcat(0, "foo", 0)' | millert | 2001-01-12 | 1 | -3/+3 | |
| | | | | not get a SEGV; Richard Kettlewell <rjk@greenend.org.uk> | |||||
* | comment fix; strlcat returns strlen(initial dst) + strlen(src). | itojun | 2000-11-24 | 1 | -3/+4 | |
| |