Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-08-02 | remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets. | Okan Demirmen | |
ok guenther@ | |||
2012-07-11 | fix an off-by-one error where the return value would point to the | Christian Weisgerber | |
character after the '\0'; ok guenther@ | |||
2012-04-26 | Add strnlen() to libkern. | Matthew Dempsky | |
ok deraadt | |||
2012-04-03 | tweak previous; | Jason McIntyre | |
2012-04-02 | simplify the strlcpy/strlcat manual page substantially. do less | Theo de Raadt | |
explaining of "what a C string is", and make it more clear that these functiosn BEHAVE EXACTLY LIKE snprintf with "%s"! (anyone who wants to write a 'strlcpy considered harmful' paper should probably write a 'strlcpy and snprintf considered harmful' paper instead). note to those from other projects reading this commit message: It would be very good if this new manual was picked up in your project. ok jmc millert krw | |||
2012-03-26 | Bump standards years, as we conform to the new versions too | Philip Guenthe | |
ok jmc@ | |||
2012-03-26 | strsignal() was standardized in POSIX-2008 | Philip Guenthe | |
ok millert@ | |||
2012-01-17 | fix SEE ALSO; | Jason McIntyre | |
2012-01-17 | Add stpcpy() and stpncpy(), pointless crap that made it into POSIX. | Philip Guenthe | |
Includes friendly linker warning to wake up those dumb enough to use it. Committing for kettenis@, who ran away to the hills after writing it | |||
2012-01-14 | grammar; | Jason McIntyre | |
2012-01-14 | this is sparta^WPOSIX 2008 | Marc Espie | |
okay millert@ | |||
2011-12-08 | strdup and strndup both use malloc. Make this fact explicit. | lum | |
ok jmc@ | |||
2011-07-25 | tweak previous; | Jason McIntyre | |
2011-07-25 | update HISTORY and SEE ALSO for all of string(3), together with various | Ingo Schwarze | |
smaller improvements; jmc@ and nicm@ both ask me to get this in because further tweaking will be easier in-tree | |||
2011-07-24 | Sync wcslcpy and wcslcat with strlcpy and strlcat. OK deraadt@ | Todd C. Miller | |
2011-07-09 | Minor function name tweaks. | Nicholas Marriott | |
2011-07-09 | Instead of documenting all the wide string functions in wmemchr(3), add | Nicholas Marriott | |
individual pages (based on the existing string man pages). By Tim van der Molen (tbvdm at xs4all dot nl) after a suggestion by millert@. ok deraadt | |||
2011-07-08 | After a certain amount of fighting with the mbstowcs API, remove L from | Nicholas Marriott | |
the wcsdup example. ok stsp | |||
2011-07-05 | Fix some awful code in the example, pointed out by millert@. | Nicholas Marriott | |
2011-07-04 | Add wcsdup(), from NetBSD. | Nicholas Marriott | |
ok deraadt matthew | |||
2011-06-01 | fix wcscasecmp() parameters; <wchar.h> was correct | Christian Weisgerber | |
2011-05-28 | tweak previous (my fault); | Jason McIntyre | |
2011-05-28 | wcs(n)casecmp support, manpage comments from jmc@, okay deraadt@ | Marc Espie | |
2011-04-04 | Add a wcswidth man page (based on FreeBSD), and fix the implementation | Stefan Sperling | |
to return -1 in case of an unprintable character. ok nicm jmc | |||
2010-09-24 | Add timingsafe_bcmp(3) to libc, mention that it's already in the | Matthew Dempsky | |
kernel in kern(9), and remove it from OpenSSH. ok deraadt@, djm@ | |||
2010-09-10 | observe the following spelling: | Jason McIntyre | |
- wide character (noun) - wide-character (adjective) this is the "fix of least resistance", and appears to be in line with posix style; a tiny fix still needed for curses, but i'll mail that upstream; | |||
2010-06-02 | Avoid using and end pointer since strnlen(string, -1) is legal | Todd C. Miller | |
and would otherwise result in overflowing the end pointer and cause strnlen() to return 0. OK sthen@ | |||
2010-05-24 | Add HISTORY section, mostly for strnlen() but include strlen() for | Todd C. Miller | |
completeness (verified). | |||
2010-05-21 | remove unused variable. | Charles Longeau | |
ok millert@ tedu@ | |||
2010-05-19 | tweak previous; | Jason McIntyre | |
2010-05-18 | add posix_madvise, posix_memalign, strndup, and strnlen. mostly from | Ted Unangst | |
brad and millert, with hints from guenther, jmc, and otto I think. ok previous. | |||
2010-03-24 | Modify example not to use an assignment in the if statement. We shouldn't | Mark Kettenis | |
teach people bad habits! ok krw@, jmc@, dlg@, thib@ | |||
2010-02-03 | Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependent | Miod Vallat | |
files or directories when applicable. The inspiration and name of MACHINE_CPU come from NetBSD, although the way to provide it to Makefiles is completely different. ok kettenis@ | |||
2009-12-05 | missing word; | Jason McIntyre | |
from trhodes@freebsd, r200095; | |||
2008-08-23 | unbreak wcschr(string, L'\0') which was incorrectly returning NULL | Damien Miller | |
rather than a pointer to the terminating nul; ok deraadt@ | |||
2008-03-19 | bcmp(3) tries to return length, which is a size_t, as an int. | Ray Lai | |
Instead, just return 1 if there is a difference. Found by lint. OK millert. | |||
2008-03-15 | - len is size_t, but n uses len and is an int. Matching those types | Ray Lai | |
should be good, plus it prevents weird things from happening if len > INT_MAX. - Since n is now size_t, compare it against 0 instead of >= 0. - temp is used to store individual bytes, so use char instead (matches fp and tp). - millert noted that the comma operator may not guarantee order of execution, so replace with semicolons. Found by lint, OK millert. | |||
2008-03-15 | Convert c to unsigned char, like it says in the manual. Also add | Ray Lai | |
cast to make it explicit. Found by lint, OK millert. | |||
2007-11-27 | typos; ok jmc@ | Martynas Venckus | |
sys/dev/pci/pciide.c from naddy@ | |||
2007-10-25 | Make sure to use unique target names so that make -j does not break; | Miod Vallat | |
feedback and ok espie@ | |||
2007-09-19 | add HISTORY; shortened version of diff from Ilya A. Kovalenko | Jason McIntyre | |
ok millert | |||
2007-09-03 | remove trailing whitespace; | Jason McIntyre | |
2007-09-03 | add memrchr(3) | Todd C. Miller | |
2007-09-02 | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | Theo de Raadt | |
2007-08-08 | Show how to use strcspn(3) to trim newlines. | Ray Lai | |
OK jmc and millert. | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-03-01 | If NLS is disabled, strerror does not print the correct error string. | Alexander Bluhm | |
No binary change with NLS enabled. ok otto millert espie | |||
2007-02-19 | wording fix from wiz@netbsd, -r1.11; | Jason McIntyre | |
2007-02-19 | from hubertf@netbsd: | Jason McIntyre | |
Try to tell what this really does. Including a BUGS section on why it doesn't. *roff code by wiz@, with some input from Slava Semushin <slava.semushin@gmail.com> ok millert | |||
2006-05-05 | Convert do {} while loop -> while {} for clarity. No binary change | Todd C. Miller | |
on most architectures. From Oliver Smith. OK deraadt@ and henning@ |