summaryrefslogtreecommitdiff
path: root/lib/libc
AgeCommit message (Collapse)Author
2007-05-02macros at start of line require a `.';Jason McIntyre
2007-05-02Document the lack of error return value in arc4random.Pierre-Yves Ritschard
Sync the documentation in getpid with arc4random's format.
2007-04-10Support for optional args separated with whitespace was removedTodd C. Miller
some time ago--it caused too many problems.
2007-04-01clarify return values, prompted by moritz; ok moritz jmcTheo de Raadt
2007-03-30document accept can return EINTR. ok millert@ jmc@Kurt Miller
2007-03-25eliminate call to abort(), which is very bad in libs. I forgat howOtto Moerbeek
this diff came into my tree, apologies for not naming the contributor. ok tedu@ deraadt@
2007-03-21Add support for mounting arbitrary sessions, from Enache AdrianPedro Martelletto
OK deraadt@ mjc@ canacar@ krw@, with much input from Enache himself
2007-03-19Get rid of useless #if 0 block, especially since the code is includedRay Lai
immediately after. OK millert@.
2007-03-07manual page update by Bruce M. Simpson <bms@FreeBSD.org> toJason McIntyre
reflect how shutdown() behaves with PF_INET and PF_INET6 sockets; help/ok millert otto
2007-03-05Remove _err() calls from getnetgrent.c. This is a minor API changeTodd C. Miller
as _ng_sl_add() now returns a value. The only consumer of that interface is netgroup_mkdb(8). Adapted from NetBSD. OK deraadt@
2007-03-02Move landisk to hardware floating point. At the moment the FPU context isMiod Vallat
always saved upon context switches, as FPU registers are heavily used for long long computations (don't ask). Gcc default to -m4. Credits to drahn@ otto@ and deraadt@ for feedback and help testing. Upgrade procedure if you don't want to use the damn snapshots: - build and install new kernel, reboot off it - build new gcc, do not install it yet - make includes - install new gcc - build and install lib/csu and lib/libc - make build
2007-03-01If 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-28- NOTES -> CAVEATSJason McIntyre
- use escapes for <>
2007-02-28use mdoc macros;Jason McIntyre
2007-02-28new sentence, new line;Jason McIntyre
2007-02-27sha2 hashes are not 5 32-bit ints in size. Just leave out the sizeTodd C. Miller
in ints since there are multiple flavors. The key point to get across is that when storing as a type > byte it may be necessary to do byte swapping depending on the machine's byte order. Noticed by Tamas TEVESZ.
2007-02-27Update to tzcode2007c from elsie.nci.nih.govTodd C. Miller
2007-02-26Add SuperH to the architecture list which stack grow down, even though thisMiod Vallat
file is not used for them.
2007-02-26another EINVAL case documentedOtto Moerbeek
2007-02-26Now that the code is consistent, make the descriptions of EINVALOtto Moerbeek
consisten also. ok millert@ jmc@
2007-02-21net.inet.esp.udpencap is enabled by default;Jason McIntyre
from jared rr spiegel: documentation/5385
2007-02-20Change hard coded numbers to sizeof(buf). Also change someRay Lai
sizeof(buf) - 1 to sizeof(buf), since fgets takes the whole buffer size. Based on diff from Charles Longeau <chl at tuxfamily dot org> long ago. OK millert@.
2007-02-20Change hard coded numbers to sizeof(buf). Also change someRay Lai
sizeof(buf) - 1 to sizeof(buf), since fgets takes the whole buffer size. Based on diff from Charles Longeau <chl at tuxfamily dot org> long ago. OK millert@.
2007-02-19wording fix from wiz@netbsd, -r1.11;Jason McIntyre
2007-02-19from 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
2007-02-18strlen(3) returns size_t, not int.Ray Lai
Suggested by itojun@ in response to my getaddrinfo fixes. OK millert@.
2007-02-18strlen(3) returns size_t.Ray Lai
OK itojun@.
2007-02-17Remove duplicate code. No functional change.Ray Lai
OK itojun@, moritz@, and millert@.
2007-02-15Remove two mutexes by replacing getservbyname() and getservbyport()Ray Lai
calls with their reentrant versions. OK millert@.
2007-02-14correct a mistake concerning ifa_data;Jason McIntyre
found by Srebrenko Sehic, corrected by millert and claudio;
2007-02-14remove size_t and int mixup. same as getaddrinfo.c 1.30 -> 1.31.Jun-ichiro itojun Hagino
2007-02-14Remove int pretending to be a size_t.Ray Lai
OK millert@.
2007-02-12get cheaper random bytes, less waste and no getpid() calls, which areOtto Moerbeek
done by arc4random(); ok millert@ deraadt@
2007-02-12provide an libc internal interface to get random bytes, to be used by mallocOtto Moerbeek
to get random data without calling getpid(), ok millert@ deraadt@
2007-02-12from FreeBSD via Jung (moorang at gmail), fix obvious typo in __fpu_ftox()Jason Wright
which caused all negative numbers returned to be == -1.
2007-02-09The buffer passed to getdirentries() must be at least as large asTodd C. Miller
the filesystem block size. Previously we used a constant (1024) rounded to the page size. Now we use the filesystem's block size, rounded up to the nearest page.
2007-02-09improve example by showing how to skip invalid entries; ok millert@Otto Moerbeek
2007-02-09grammar;Jason McIntyre
2007-02-08g/c __DTF_READALL. It was a flag to the internal __opendir2() butTodd C. Miller
is never set now that the unionfs support has been removed from readdir(). OK pedro@
2007-02-07tweaks; ok millertJason McIntyre
2007-02-07sys/swap.h needs sys/param.h and sort while hereNikolay Sturm
feedback and ok pedro
2007-02-06fix some dodgy displays;Jason McIntyre
2007-02-06Update to tzcode2007a. This adds support for 64bit time_t in caseTodd C. Miller
we need it in the future. All of our platforms currently have 32bit time_t types. This also extends the timezone data file format to support both 32bit and 64bit data. The 64bit data is located after the 32bit data so binaries linked with the older tzcode simply won't look at it. A version field in the file header is used to determine whether the data file is the old or extended format. OK miod@
2007-02-03fix NAME, ok jmc@Marc Espie
2007-01-30Remove and simplify an impossible case (if *p = memchr(cp, 0, prec),Ray Lai
p - cp cannot be greater than prec). Prevent an integer overflow when printing a string with length greater than INT_MAX. Initial diff from millert@. OK millert@, beck@, and otto@.
2007-01-29add an ENVIRONMENT section for TMPDIR;Jason McIntyre
from freebsd pr# 108346, from Anton Yuzhaninov much tweaked by otto and myself;
2007-01-25Move paragraphs unrelated to bfname out of this list item.Alexander Bluhm
ok millert jmc
2007-01-16Fix potential int overflow for printf(3) when passing in very largeTodd C. Miller
values for the field width. Adapted from a diff by Christian Biere.
2007-01-16sync with the code: int -> intmax_tSteven Mestdagh
ok jmc@
2007-01-08advertising clauses that can be droppedTheo de Raadt