summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
AgeCommit message (Collapse)Author
2005-11-10add $OpenBSD$ tags, as requested by dtucker.Marc Espie
2005-10-26Remove obsolete comment. ok deraadt@Otto Moerbeek
2005-10-26clarifications from ray lai;Jason McIntyre
tweaked by tedu@ and myself;
2005-10-25dont' -> don't in comments;Jason McIntyre
from ray lai;
2005-10-11tidy up examplesJared Yanovich
- use err() for error handling - add lint hints - spacing nits and missing braces ok otto
2005-10-10fix a few warnings, keep the crypt stuff for later.Marc Espie
okay otto@
2005-10-10Remove a few warnings. Those were not apparent thanks to a bug in gcc 2.95.Marc Espie
Patch by Leonardo Chiquitto Filho <leonardo@iken.com.br> Thanks.
2005-10-05further knf and cleaning; ok tdevalTheo de Raadt
2005-10-05first KNF (no binary diffs)Theo de Raadt
2005-08-22spelling: you missed this one david ;)Jason McIntyre
2005-08-08zap remaining rcsid.Marc Espie
Kill old files that are no longer compiled. okay theo
2005-08-06tell people that atexit is bad; ok jmcTheo de Raadt
2005-07-26kill errant blank line;Jason McIntyre
2005-07-26- typos, punctuation, layout, macro tweaksJared Yanovich
- break long lines ok jmc
2005-07-26- typos, grammar, punctuation, layout tweaksJared Yanovich
- use `$' for command prompts - clean up: use a bullet list instead of adding junk to denote list items ok jmc
2005-07-26provide a description of the EXAMPLE; ok jmcJared Yanovich
2005-07-26note when these first appeared; ok jmcJared Yanovich
2005-07-07kill errant full stop;Jason McIntyre
2005-07-07got to be a pasto...Jason McIntyre
2005-07-07Fix the unmapping of freed pages, leaving just 64k worth of cache pages.Thierry Deval
Prodded by art@ and fgsch@, ok deraadt@
2005-07-01whitespace;Jason McIntyre
2005-07-01More robust example of numeric argument handling. The old exampleTodd C. Miller
code would dereference NULL for mixed letter and number args. OK deraadt@
2005-06-17no longer a need for the free(malloc(1)) hack, because the brk stuffTheo de Raadt
no longer needs initializing (we use mmap for malloc entirely now) noticed by kjell, ok dhartmei, tested by me
2005-06-07no need to insert spacing between list members;Jason McIntyre
2005-06-07adding pointer protection to 'G' was too heavyweight. Since malloc guardTed Unangst
should be generally usable, split this out into option 'P'. ok deraadt
2005-05-24add a note describing latest guard featureTed Unangst
2005-05-24handle sizeof(void *) allocations specially when using malloc guard.Ted Unangst
they get a whole page and go right at the end of it. ok deraadt tdeval
2005-05-11Update HISTORY fixing some facts, while it is not clear if theOtto Moerbeek
environment stuff originates from AT&T or BSD. ok ok deraadt@ millert@ ian@
2005-05-11major abi changes:Marc Espie
* introduce the mbstate_t typedef. impacts gnu libiconv, which has already been taken care of. * Prepare for mb stuff to really exist, replace macro MB_CUR_MAX with an external variable __mb_cur_max (impacts libX11 and various ports). * use mbstate in all the mb <-> wchar functions with state. * add a stub iswctype function allowing some ports to compile. bash and gdiff are missing wcscoll, and need to be told there's no i18n until this is fixed. Discussed and matthieu, otto, millert, kettenis, deraadt. Major libc bump
2005-04-14mark up NULL w/ .Dv;Jason McIntyre
2005-04-14make it crystal clear that errstr is NULL after successTed Unangst
2005-04-03Xr readlink(1). ok jmc@Otto Moerbeek
2005-03-31MMAP(2) malloc, here we go again.Thierry Deval
2005-03-30ansi + de-registerPatrick Latifi
ok otto deraadt
2005-03-30Do not promise anything about the contents of resolved on failure.Otto Moerbeek
ok millert@
2005-03-29Make realpath() thread-safe. New implementation does not use chdir(2) at all.Brad Smith
From: FreeBSD by Constantin S. Svintsoff <kostik (at) iclub.nsu.ru> ok otto@ millert@
2005-03-26Document that historic BSD getopt(3) set optopt for each char, not justTodd C. Miller
on error.
2005-03-02Fix typo that breaks compilation #ifndef __weak_alias; Francois PerradTodd C. Miller
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@
2005-02-16Stash the environment pointer we get from realloc() instead of justTodd C. Miller
setting a flag. That way when we are called again we can be sure to realloc() the right thing, regardless of the current value of environ. When the stashed value != environ (or when we are called for the first time), copy the existing entries from environ and set environ to the new value. OK deraadt@, beck@, djm@
2005-02-07tidy up ERRORS and STANDARDS;Jason McIntyre
2004-12-22tweaks from michael knudsen;Jason McIntyre
2004-12-07Document why not to set optind = 0. Inspired by and OK jfb@Todd C. Miller
2004-11-30Check strlc{py,at} return value and return NULL upon truncation insteadTodd C. Miller
of silently truncating. OK deraadt@ otto@
2004-11-22.{N,O}x fixes;Jason McIntyre
2004-10-01add some missing $, ok djm@ 'That looks fine to me' millert@Jonathan Gray
2004-09-21Add HISTORY; from Jose NazarioTodd C. Miller
2004-08-22mention strtonum(3)Jared Yanovich
ok millert jmc pedro
2004-08-11Back out to brk(2) version.Thierry Deval
The mmap(2) code is cool and it has already uncovered some bugs in other code. But some issues remain on some archs, and we can't afford that for production. Don't worry, it will be back soon... I'll make sure of it...
2004-08-05- Remove the userland data limit check. It's mmap(2)'s job.Thierry Deval
- When malloc_abort==0 (MALLOC_OPTIONS=a), don't abort in wrterror(). fine deraadt@