summaryrefslogtreecommitdiff
path: root/lib/libc/string
AgeCommit message (Collapse)Author
2005-08-08zap remaining rcsid.Marc Espie
Kill old files that are no longer compiled. okay theo
2005-08-08activate LC_CTYPE for 8 bits locale.Marc Espie
Make sure tolower/toupper use the whole 8 bits. okay deraadt@ thanks to everyone who tested
2005-08-07move non-standard COMPATIBILITY section to HISTORY, which seems moreJason McIntyre
relevant anyway; ok jaredy@
2005-08-06add HISTORY; ok jmcJared Yanovich
2005-08-06- macro, punctuation, and rewording tweaksJared Yanovich
- avoid first person. ok jmc
2005-08-06sync function prototypes to reality; ok jmcJared Yanovich
2005-06-19K&R -> ANSIMarc Espie
APIWARN okay millert@, otto@
2005-06-15bye bye whiteoutsTodd C. Miller
2005-05-26Merge common functionality of __strsignal and strerror_r.Otto Moerbeek
ok jaredy@ miod@
2005-05-08Only append number when it fits to avoid truncation and returnOtto Moerbeek
appropriate error number. ok miod@, millert@ on an earlier version; ok jaredey@
2005-05-01Tidy up __strtosignal(): pass a buffer and length to its itoa() andTom Cosgrove
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@
2005-04-20correct strlcpy abuseBob Beck
ok millert@
2005-04-16fix wmemchr.3 MLINKS;Jason McIntyre
ok espie@
2005-04-16Remove redundant lineTom Cosgrove
ok espie@ otto@ millert@ deraadt@
2005-04-14introduce some wchar functions (from citrus and an itojun@ diff)Marc Espie
okay deraadt@, cloder@, pvalchev@ thanks to everyone who commented on that.
2005-04-13- our pages do not have a LIBRARY section;Jason McIntyre
- attach rcs id - wording tweak
2005-04-13Import w* functions so that I can send smaller diffs around.Marc Espie
(Nothing activated yet, of course) okay deraadt@
2005-03-30ansify + deregister. no binary change on i386. ok deraadt@ pat@ moritz@Otto Moerbeek
2005-03-30strcasestr(3), a case-insensitive version of strstr(3). already in netbsdTheo de Raadt
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
2005-02-25Be correct in our man pages when talking about NUL termination (that is,Chad Loder
termination with '\0') vs. null termination. Input from krw@, jaredy@, jmc@. OK deraadt@
2004-12-10typos, then -> than, from Michael KnudsenJared Yanovich
2004-11-28repair libkern support (again) and add rcsidsMichael Shalayeff
2004-05-03Missed this in the __strerror() removal.Todd C. Miller
2004-05-03No longer need __strerror(3) now that we use strerror_r() inside libc.Todd C. Miller
2004-05-03Do a better job of documenting strerror_r() and add an ERRORS section.Todd C. Miller
2004-05-03build 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-01let __strerror fill precisely the part of the buffer it can.Marc Espie
okay millert@
2004-04-30Let __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-10make Nm match Dt;Jason McIntyre
2004-02-09make Nm match Dt; found by pb@Jason McIntyre
some of this ok espie@, all of it ok deraadt@
2004-01-20Fix the example code. The loop invariant 'i' was not bound by MAXTOKENSTodd 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-06standards compliant strxfrm. much simpler too. fixes sorting in glib2.Ted Unangst
ok deraadt@ espie@ marcm@
2003-09-02escape punctuation;Jason McIntyre
ok deraadt@
2003-07-24warn about unsafe APIs at link time. Conditional on libc/Makefile definingTheo 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-21clarify these functions by changing references from strings to buffersAnil Madhavapeddy
ok deraadt@, millert@, jmc@, suggested by espie@
2003-06-17Sync with share/misc/license.template and add missing DARPA creditTodd C. Miller
where applicable.
2003-06-11ansification, pval okTheo de Raadt
2003-06-11ansification; pval okTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-10typos;Jason McIntyre
2003-04-12Change copyright to a less restrictive ISC-style license to encourageTodd C. Miller
people to bundle this code.
2003-04-07Xr to strlcpy and strlcat more; ok millertTheo de Raadt
2003-04-02fifo -> FIFOJason McIntyre
ok millert@
2003-03-14ANSI function headersTodd C. Miller
2003-03-13a few more strlcy; ok from beck & hoTheo de Raadt
2003-02-20fix a variety of missing or wrong MLINKSTheo de Raadt
2002-11-21Add strerror_r and functions versions of getchar_unlocked andMarco S Hyman
putchar_unlocked. Crank the minor on related libs. OK fgs@, deraadt@
2002-07-24Convert to ANSI function headers and make 'ch' argument int, not char.Todd C. Miller
Noticed by deraadt@
2002-05-13For 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-30Initial 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