summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/malloc.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2005-12-22handle chroot and res_init calls better. diagnosis assistance from otto.tedu1-21/+18
ok deraadt otto.
2005-11-30Use sysctl(KERN_ARND) to get n bytes, instead of just 4 at a timeotto3-51/+16
and remove fallback code. If somebody is dumb enough to make the sysctl fail using systrace, he deserves what he gets. Saves 7 syscalls on process startup. looks good miod@ ok deraadt@ tedu@
2005-11-27ISOXXX/ISO-XXX -> ISO XXXjmc1-3/+3
2005-11-24use WANTLINT= (on all architectures)deraadt2-2/+4
2005-11-15Do not clobber errno when calling close(2) in example code.otto1-2/+6
From form@ via mpech@
2005-11-15Use a forward declaration of struct timespec instead of assumingmillert1-1/+2
it has already been defined by previous includes. While this is true at the moment, it will no longer be true after a pending includes cleanup. OK marc@
2005-11-13save errno in example code. from mpech@ ok jmc@otto1-1/+3
2005-11-10add $OpenBSD$ tags, as requested by dtucker.espie2-0/+2
2005-10-29Activate missing wcswidth, as noted by Alexander Bluhm.espie1-2/+2
okay deraadt@, otto@ Minor bump (nobody stepped forward with other changes, so let's do this one)
2005-10-26Remove obsolete comment. ok deraadt@otto1-5/+1
2005-10-26clarifications from ray lai;jmc1-3/+5
tweaked by tedu@ and myself;
2005-10-25dont' -> don't in comments;jmc1-2/+2
from ray lai;
2005-10-25Make set_common_sockopts() a void since it doesn't return anything anyway.dtucker1-3/+3
Makes netcat -Wall clean. ok djm@
2005-10-25Add a -T option to nc to allow setting of IP type-of-service bits ondtucker2-4/+43
connections. Man page corrections jmc@, code corrections and ok djm@
2005-10-22fix MLINKS;jmc1-2/+2
from andreas schweitzer (pr #4566); ok dtucker@
2005-10-11fix potential SSL 2.0 rollback ↵markus2-6/+2
(http://www.openssl.org//news/secadv_20051011.txt) from http://www.openssl.org/news/patch-CAN-2005-2969.txt
2005-10-11tidy up examplesjaredy3-17/+16
- 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.espie1-2/+2
okay otto@
2005-10-10Remove a few warnings. Those were not apparent thanks to a bug in gcc 2.95.espie1-3/+3
Patch by Leonardo Chiquitto Filho <leonardo@iken.com.br> Thanks.
2005-10-05further knf and cleaning; ok tdevalderaadt1-382/+364
2005-10-05first KNF (no binary diffs)deraadt1-1322/+1356
2005-10-03rename OpenSSL blowfish.3 manpage to BF_set_key.3, so it doesn't clobberdjm1-13/+13
libc manpage of the same name; reported and ok jmc@
2005-10-02`ether_addr' is the name of a structure, not a function: remove its MLINKjmc2-4/+3
and remove its entry from the .Nm list;
2005-10-02add bf_{ecb,cbc}_{en,de}crypt to the .Nm list;jmc1-2/+6
2005-10-02add bcrypt_gensalt, bcrypt, and md5crypt, to the .Nm list;jmc1-2/+5
2005-08-29Basic regress test for the vis(3) family of functions. Extra testsotto4-2/+37
for various flag values will be added later. ok deraadt@
2005-08-22spelling: you missed this one david ;)jmc1-2/+2
2005-08-12uncomment setlocale(3) entry;jmc1-2/+2
2005-08-12untested Makefile commitedderaadt1-2/+2
2005-08-11regression test to check that isw* functions yield the same result asespie4-2/+166
is* functions, and that basic mb->wchar conversion yields sensible results.
2005-08-08zap remaining rcsid.espie116-663/+111
Kill old files that are no longer compiled. okay theo
2005-08-08activate LC_CTYPE for 8 bits locale.espie4-11/+18
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 morejmc1-10/+10
relevant anyway; ok jaredy@
2005-08-06zap rcsid.espie47-375/+234
split functions off res_debug.c so that getnetnamadr.c does not pull it all when it's used. okay deraadt@, krw@
2005-08-06tell people that atexit is bad; ok jmcderaadt1-1/+7
2005-08-06add HISTORY; ok jmcjaredy1-1/+8
2005-08-06- macro, punctuation, and rewording tweaksjaredy4-18/+21
- avoid first person. ok jmc
2005-08-06sync function prototypes to reality; ok jmcjaredy1-4/+5
2005-08-01kernal->kernel;jmc2-2/+2
from netbsd pr #30872 (anonymous post); ok deraadt@ krw@
2005-07-27Restore recent changes except for the actual one that causes the problem.millert1-20/+8
2005-07-27backout gethostent changes for now -- there is fallout, discovered by ottojaredy1-10/+22
2005-07-26kill errant blank line;jmc1-2/+1
2005-07-26- typos, punctuation, layout, macro tweaksjaredy9-34/+48
- break long lines ok jmc
2005-07-26- typos, grammar, punctuation, layout tweaksjaredy1-74/+156
- 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 jmcjaredy1-2/+11
2005-07-26note when these first appeared; ok jmcjaredy1-1/+3
2005-07-24In _gethtent() ignore host.h_length if it is set to 0. Previouslymillert1-10/+7
we only ignored it if host.h_addrtype was AF_UNSPEC. Set host.h_length to 0 in _gethtbyname2() since that function does not take a length argument. Problem found by jaredy@
2005-07-24correct rval check for socket(). from alf schlichting. ok markus@marius1-2/+2
2005-07-23*hostent() fixes:jaredy1-22/+13
- Make _gethtent() static - _gethtbyname() is dead code (succeeded by _gethtbyname2), kill it - _gethtent() requires setting the address family field of the file-scope variable `host' to that of the desired type of the entry being searched for. Change the behavior to enforce this if it is not AF_UNSPEC, which will now allow stepping through entries, and set it to specific values everywhere else. help & ok millert
2005-07-22- sync prototypes and header file excerptsjaredy13-102/+116
- typos/spelling, punctuation, rewording, macro, and layout fixes. help & ok jmc