Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-05-03 | Missed this in the __strerror() removal. | Todd C. Miller | |
2004-05-03 | No longer need __strerror(3) now that we use strerror_r() inside libc. | Todd C. Miller | |
2004-05-03 | Do a better job of documenting strerror_r() and add an ERRORS section. | Todd C. Miller | |
2004-05-03 | build the error message in strerror_r.c directly, avoiding one copy there. | Marc Espie | |
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@. | |||
2004-05-01 | let __strerror fill precisely the part of the buffer it can. | Marc Espie | |
okay millert@ | |||
2004-04-30 | Let __strerror work by fixing a number of problems. Work by tholo and I, | Marc Espie | |
okay millert@. - atoi was bogus. - atoi was not reentrant. - there's no reason to cast stuff to unsigned int. | |||
2004-02-10 | make Nm match Dt; | Jason McIntyre | |
2004-02-09 | make Nm match Dt; found by pb@ | Jason McIntyre | |
some of this ok espie@, all of it ok deraadt@ | |||
2004-01-20 | Fix the example code. The loop invariant 'i' was not bound by MAXTOKENS | Todd C. Miller | |
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. | |||
2003-09-06 | standards compliant strxfrm. much simpler too. fixes sorting in glib2. | Ted Unangst | |
ok deraadt@ espie@ marcm@ | |||
2003-09-02 | escape punctuation; | Jason McIntyre | |
ok deraadt@ | |||
2003-07-24 | warn about unsafe APIs at link time. Conditional on libc/Makefile defining | Theo de Raadt | |
APIWARN; disabled by default. In use by many developers for quite some time, now they have a common knob to enable/disable this | |||
2003-06-21 | clarify these functions by changing references from strings to buffers | Anil Madhavapeddy | |
ok deraadt@, millert@, jmc@, suggested by espie@ | |||
2003-06-17 | Sync with share/misc/license.template and add missing DARPA credit | Todd C. Miller | |
where applicable. | |||
2003-06-11 | ansification, pval ok | Theo de Raadt | |
2003-06-11 | ansification; pval ok | Theo de Raadt | |
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-05-10 | typos; | Jason McIntyre | |
2003-04-12 | Change copyright to a less restrictive ISC-style license to encourage | Todd C. Miller | |
people to bundle this code. | |||
2003-04-07 | Xr to strlcpy and strlcat more; ok millert | Theo de Raadt | |
2003-04-02 | fifo -> FIFO | Jason McIntyre | |
ok millert@ | |||
2003-03-14 | ANSI function headers | Todd C. Miller | |
2003-03-13 | a few more strlcy; ok from beck & ho | Theo de Raadt | |
2003-02-20 | fix a variety of missing or wrong MLINKS | Theo de Raadt | |
2002-11-21 | Add strerror_r and functions versions of getchar_unlocked and | Marco S Hyman | |
putchar_unlocked. Crank the minor on related libs. OK fgs@, deraadt@ | |||
2002-07-24 | Convert to ANSI function headers and make 'ch' argument int, not char. | Todd C. Miller | |
Noticed by deraadt@ | |||
2002-05-13 | For strncpy(), dst is not NUL terminated if strlen(src) >= len. | Todd C. Miller | |
Also fix a typo; adapted from a patch by Moritz Jodeit | |||
2002-04-30 | Initial cleanup: | Mike Pechkin | |
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 | |||
2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
2001-12-08 | when strerror() has an Unknown error, also set EINVAL | Theo de Raadt | |
2001-11-21 | 2nd param is const | Theo de Raadt | |
2001-09-07 | K&R promotion is not the whole story. Make things explicit. | Marc Espie | |
2001-09-05 | make debug libs build again | Michael Shalayeff | |
2001-08-06 | o) We always close .Bl and .Bd tags; | Mike Pechkin | |
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 | |||
2001-07-29 | Minor style pedentry from ben@arbor.net plus some of my own and sync | Todd C. Miller | |
libkern and libc versions. | |||
2001-06-27 | use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok. | lebel | |
2001-06-23 | more .%A handling; bk@rt.fm | Theo de Raadt | |
2001-06-18 | Clarify that if strlcat() does not find a NUL within siz byte it | Todd C. Miller | |
will not NUL terminate either. | |||
2001-06-14 | Fix a buf oflow in EXAMPLES code; millert@ ok | Aaron Campbell | |
2001-05-13 | type of function on seperate line | Theo de Raadt | |
2001-05-07 | Document boundary condition when size < strlen(dst). | Todd C. Miller | |
2001-05-07 | Back out last change, it is intended behavior and update the block | Todd C. Miller | |
comment to reflect this fact. Too early in the morning for me I guess. | |||
2001-05-07 | strlcat() should return strlen(dst) + strlen(src) when size parameter | Todd C. Miller | |
<= strlen(dst). Bug report by mark.murnane@ireland.sun.com via the GNOME folks. | |||
2001-01-13 | Sync function comment with man page; fanf@covalent.net | Todd C. Miller | |
2001-01-12 | Reverse the order of two loop invariant to make 'strlcat(0, "foo", 0)' | Todd C. Miller | |
not get a SEGV; Richard Kettlewell <rjk@greenend.org.uk> | |||
2000-11-24 | comment fix; strlcat returns strlen(initial dst) + strlen(src). | Jun-ichiro itojun Hagino | |
2000-11-16 | "of", not "on" (from Henric Jungheim) | Angelos D. Keromytis | |
2000-11-06 | The constant's name is MAXPATHLEN, not MAXPATHNAMELEN; closes PR/1491. | Aaron Campbell | |
From ianm@kashmir.cit.nepean.uws.edu.au. | |||
2000-10-23 | Document that the string returned by strerror(3) contains a maximum of | Aaron Campbell | |
NL_TEXTMAX characters. | |||
2000-10-18 | Another round of man page cleanup, this time to remove more hard sentence | Aaron Campbell | |
breaks and getting rid of short lines, making these files easier to work with. |