Age | Commit message (Collapse) | Author | |
---|---|---|---|
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@ | |||
2006-04-17 | fix badly broken code. okay millert@, deraadt@ | Marc Espie | |
2006-03-31 | (char)to{upper,lower}() | Theo de Raadt | |
2005-10-29 | Activate missing wcswidth, as noted by Alexander Bluhm. | Marc Espie | |
okay deraadt@, otto@ Minor bump (nobody stepped forward with other changes, so let's do this one) | |||
2005-08-12 | uncomment setlocale(3) entry; | Jason McIntyre | |
2005-08-08 | zap remaining rcsid. | Marc Espie | |
Kill old files that are no longer compiled. okay theo | |||
2005-08-08 | activate 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-07 | move non-standard COMPATIBILITY section to HISTORY, which seems more | Jason McIntyre | |
relevant anyway; ok jaredy@ | |||
2005-08-06 | add HISTORY; ok jmc | Jared Yanovich | |
2005-08-06 | - macro, punctuation, and rewording tweaks | Jared Yanovich | |
- avoid first person. ok jmc | |||
2005-08-06 | sync function prototypes to reality; ok jmc | Jared Yanovich | |
2005-06-19 | K&R -> ANSI | Marc Espie | |
APIWARN okay millert@, otto@ | |||
2005-06-15 | bye bye whiteouts | Todd C. Miller | |
2005-05-26 | Merge common functionality of __strsignal and strerror_r. | Otto Moerbeek | |
ok jaredy@ miod@ | |||
2005-05-08 | Only append number when it fits to avoid truncation and return | Otto Moerbeek | |
appropriate error number. ok miod@, millert@ on an earlier version; ok jaredey@ | |||
2005-05-01 | Tidy up __strtosignal(): pass a buffer and length to its itoa() and | Tom 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-20 | correct strlcpy abuse | Bob Beck | |
ok millert@ | |||
2005-04-16 | fix wmemchr.3 MLINKS; | Jason McIntyre | |
ok espie@ | |||
2005-04-16 | Remove redundant line | Tom Cosgrove | |
ok espie@ otto@ millert@ deraadt@ | |||
2005-04-14 | introduce 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-13 | Import w* functions so that I can send smaller diffs around. | Marc Espie | |
(Nothing activated yet, of course) okay deraadt@ | |||
2005-03-30 | ansify + deregister. no binary change on i386. ok deraadt@ pat@ moritz@ | Otto Moerbeek | |
2005-03-30 | strcasestr(3), a case-insensitive version of strstr(3). already in netbsd | Theo 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 |