Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convert do {} while loop -> while {} for clarity. No binary change | millert | 2006-05-05 | 2 | -10/+10 |
| | | | | on most architectures. From Oliver Smith. OK deraadt@ and henning@ | ||||
* | fix badly broken code. okay millert@, deraadt@ | espie | 2006-04-17 | 1 | -7/+7 |
| | |||||
* | (char)to{upper,lower}() | deraadt | 2006-03-31 | 1 | -2/+2 |
| | |||||
* | Activate missing wcswidth, as noted by Alexander Bluhm. | espie | 2005-10-29 | 1 | -2/+2 |
| | | | | | okay deraadt@, otto@ Minor bump (nobody stepped forward with other changes, so let's do this one) | ||||
* | uncomment setlocale(3) entry; | jmc | 2005-08-12 | 1 | -2/+2 |
| | |||||
* | zap remaining rcsid. | espie | 2005-08-08 | 58 | -287/+56 |
| | | | | | | Kill old files that are no longer compiled. okay theo | ||||
* | activate LC_CTYPE for 8 bits locale. | espie | 2005-08-08 | 3 | -11/+11 |
| | | | | | | | Make sure tolower/toupper use the whole 8 bits. okay deraadt@ thanks to everyone who tested | ||||
* | move non-standard COMPATIBILITY section to HISTORY, which seems more | jmc | 2005-08-07 | 1 | -10/+10 |
| | | | | | | relevant anyway; ok jaredy@ | ||||
* | add HISTORY; ok jmc | jaredy | 2005-08-06 | 1 | -1/+8 |
| | |||||
* | - macro, punctuation, and rewording tweaks | jaredy | 2005-08-06 | 4 | -18/+21 |
| | | | | | | - avoid first person. ok jmc | ||||
* | sync function prototypes to reality; ok jmc | jaredy | 2005-08-06 | 1 | -4/+5 |
| | |||||
* | K&R -> ANSI | espie | 2005-06-19 | 22 | -120/+79 |
| | | | | | APIWARN okay millert@, otto@ | ||||
* | bye bye whiteouts | millert | 2005-06-15 | 2 | -9/+2 |
| | |||||
* | Merge common functionality of __strsignal and strerror_r. | otto | 2005-05-26 | 3 | -129/+50 |
| | | | | ok jaredy@ miod@ | ||||
* | Only append number when it fits to avoid truncation and return | otto | 2005-05-08 | 1 | -14/+11 |
| | | | | | appropriate error number. ok miod@, millert@ on an earlier version; ok jaredey@ | ||||
* | Tidy up __strtosignal(): pass a buffer and length to its itoa() and | tom | 2005-05-01 | 1 | -8/+12 |
| | | | | | | | | | | | make sure we can't underrun this buffer. Also force NUL-termination of this buffer, and ensure that large unsigned integers are printed correctly. Started by a diff from Dave Hines, openbsd (at) dph (dot) fluff (dot) org; thanks. with and ok otto@ | ||||
* | correct strlcpy abuse | beck | 2005-04-20 | 1 | -4/+8 |
| | | | | ok millert@ | ||||
* | fix wmemchr.3 MLINKS; | jmc | 2005-04-16 | 1 | -2/+3 |
| | | | | ok espie@ | ||||
* | Remove redundant line | tom | 2005-04-16 | 1 | -3/+2 |
| | | | | ok espie@ otto@ millert@ deraadt@ | ||||
* | introduce some wchar functions (from citrus and an itojun@ diff) | espie | 2005-04-14 | 1 | -3/+26 |
| | | | | | okay deraadt@, cloder@, pvalchev@ thanks to everyone who commented on that. | ||||
* | - our pages do not have a LIBRARY section; | jmc | 2005-04-13 | 2 | -5/+5 |
| | | | | | - attach rcs id - wording tweak | ||||
* | Import w* functions so that I can send smaller diffs around. | espie | 2005-04-13 | 25 | -0/+1592 |
| | | | | | | (Nothing activated yet, of course) okay deraadt@ | ||||
* | ansify + deregister. no binary change on i386. ok deraadt@ pat@ moritz@ | otto | 2005-03-30 | 8 | -64/+45 |
| | |||||
* | 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 |
| |