summaryrefslogtreecommitdiff
path: root/lib/libc
AgeCommit message (Collapse)Author
2006-02-22Avouid a race in atexit() handling by introducing a lock. ProblemOtto Moerbeek
originally reported by Gergely Kovacs; help from dhartmei@; ok tedu@ millert@
2006-02-18Update to tzcode2006a; primarily just cast and const fixes.Todd C. Miller
2006-02-14quick path for free(0)Marc Espie
`looks to be safe' millert, okay tedu.
2006-02-06typos from alexey dobriyan;Jason McIntyre
2006-01-30document posixness;Jason McIntyre
fixes pr #4996, from joachim schipper;
2006-01-25Fix a memory leak that could be trigged by a read errorTodd C. Miller
Update the count of currently cached pages in mpool_delete() Use CIRCLEQ_EMPTY in the loop that delets the lru cache Don't update the pageread statistic if there was a read error With aaron@, OK krw@
2006-01-24Add missing break; in a switch case statement from r1.7 pread() changes. FromAaron Campbell
dhelder AT arbor.net. millert@ ok
2006-01-19make offset parameter to pwrite apparent in description.Marc Espie
okay jmc@
2006-01-18Clarify. Based on a diff by millert@, with additional input from miod@.Tom Cosgrove
ok millert@
2006-01-18make the PROT_ list a little nicer;Jason McIntyre
2006-01-18missing auxillary verbJacob Meuser
"yes, that is correct." jmc@ (a while back)
2006-01-18add a piece of text, copied here so that people can think about it:Theo de Raadt
+Nor will all implementations guarantee to give exactly the requested +permissions; more permissions may be granted than requested by +.Fa prot . ok miod jmc
2006-01-17Include param.h for MAXHOSTNAMELENTodd C. Miller
2006-01-17Include limits.h directly instead of depending on another headerTodd C. Miller
to include it for us.
2006-01-17Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELENTodd C. Miller
2006-01-16use standard type uint32_t, instead of BSD-specific u_int32_tMarc Espie
tell user to get it through stdint.h (note old sys/types.h still works, for now). okay millert@, jmc@
2006-01-15back out previous - imaxabs is already listed;Jason McIntyre
2006-01-14Xr imaxabs()Todd C. Miller
2006-01-14fix the .Fn line; ok millertJason McIntyre
2006-01-14sort SEE ALSO;Jason McIntyre
2006-01-13Pull in inttypes.h, not stdint.h so we get the prototypes forTodd C. Miller
strtoimax/strtoumax.
2006-01-13Remove neither documented nor found in any spec ctermid_r() function - ctermid()Miod Vallat
is reentrant in its current implementation anyway. Surfing on the recent major version bump, ok millert@ deraadt@
2006-01-13Major version bump to deal with potential fallout from the types changes.Todd C. Miller
2006-01-13Add lldiv(), imaxabs(), imaxdiv(), strtoimax() and strtoumax()Todd C. Miller
2006-01-13Use long long and intmax_t instead of quad_t throughout. Adapted inTodd C. Miller
part from FreeBSD.
2006-01-10Return inf or nan as per printf() not Inf, Infinity or Nan (from dtoa)Todd C. Miller
Remove an extraneous check for dtoa returning Inf/Nan
2006-01-10Use localeconv() to get the locale-specific radix char like printf does.Todd C. Miller
2006-01-10Nan and Infinity can be negativeTodd C. Miller
Decimal point was missing for some exponential output Only divide sign by 10 once per loop Add a missing NUL terminator for one case If there is no whole number portion, print a leading zero (e.g. 0.1 not .1)
2006-01-08Fix the handling of negative hexadecimal numbers in integer formats.Todd C. Miller
From NetBSD.
2006-01-07improve the RETURN VALUES section;Jason McIntyre
for such a small diff, this one was hard work... based on a diff from ray lai; blood, sweat, and tears (and ok) kettenis
2006-01-06Adapt things to use __type_t instead of _BSD_TYPE_T_Todd C. Miller
Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable
2006-01-06fix the mkstemps .Fn;Jason McIntyre
2006-01-06in code fragment:Jason McIntyre
- allocate enough space for sfn. - remove variable initializations that get overwritten anyway. - change spaces to tabs. - change "sizeof sfn" to "sizeof(sfn)". - change fprintf(stderr) to warn(). from ray lai; ok millert
2006-01-05System call stubs don't have a frame of their own, so use EMTRY_LEAF insteadMark Kettenis
of ENTRY. This avoids emitting bogus unwind entries, which makes gdb a lot happier. ok mickey@
2006-01-05System call stubs don't have a frame of their own, so use EMTRY_LEAF insteadMark Kettenis
of ENTRY. This avoids emitting bogus unwind entries, which makes gdb a lot happier. ok mickey@
2006-01-03Do not overlap flags; problem introduced when new escapes were added.Todd C. Miller
2006-01-01fix desc of struct kevent, OK millert@Marco S Hyman
2005-12-30Currently sys/socket.h needs sys/types.h so add #include <sys/types.h> toClaudio Jeker
the list of necessary includes. Now the manpages match reality. OK mpf@ millert@
2005-12-28Remove useless if() introduced by accident in rev 1.3. Checking theTodd C. Miller
flag for sprintf-ness is not useful in a code path that is not called for sprintf and friends.
2005-12-27Remove unused include, ok miod@Dale Rahn
2005-12-23Prototypes live in <search.h>Todd C. Miller
2005-12-22handle chroot and res_init calls better. diagnosis assistance from otto.Ted Unangst
ok deraadt otto.
2005-12-21Userland programs should include <errno.h> not <sys/errno.h>Todd C. Miller
OK deraadt@
2005-12-19Missing piece from previous commitTodd C. Miller
2005-12-19Add %hhd to *printf and *scanf as well as %z to *scanf. This wasTodd C. Miller
sent out and approved about 6 months ago and has been rotting in my tree ever since.
2005-12-19Use strlcpy() return value in bound check instead of using anTodd C. Miller
extra strlen(). This has been in my tree for a long time.
2005-12-17Document PT_STEP (better late than never), and group the machine-dependentMiod Vallat
request with a (fixed) list of arches for each; tweaks and ok jmc@ kettenis@
2005-12-16clarify sentence; cannot reuse a stream socket after even trying to do a ↵Theo de Raadt
connect; spotted by tedu
2005-12-13Remove the advertising clause in the UCB license which BerkeleyJonathan Gray
rescinded 22 July 1999. Checked by ian@ and deraadt@
2005-12-10because lint says so; ok espieTheo de Raadt