summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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-19pthread bits for sh; help deraadt@, ok kettenis@Miod Vallat
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-17remove two expired certificates, diff from <Christian_Rusch@genua.de>Alexander von Gernler
ok jakob@
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-13Avoid double recacl when loop_once is used.Todd C. Miller
From libevent SVN via brad@.
2007-02-13Add prototype for bufferevent_base_set().Todd C. Miller
From the libevent SVN repo, by Thorsten Glaser via brad@
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-06various cleanup:Jason McIntyre
- escapes for < and > - fix some dodgy .Bd - add a little vertical space
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-06discuss consistently "the Epoch";Jason McIntyre
2007-02-04Two libevent fixes from the SVN repo:Todd C. Miller
allow gotsig to terminate active event loop and evbuffer_find fix. OK brad@ pyr@
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-28Return ESRCH instead of segfaulting when a thread ID could not be found.Mark Kettenis
ok marc@, krw@
2007-01-25Move paragraphs unrelated to bfname out of this list item.Alexander Bluhm
ok millert jmc
2007-01-24+.Xr gzip 1Jason McIntyre
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
2007-01-08the advertising clause on these can safely be removedTheo de Raadt
2007-01-08fix mem leak, from NetBSD; ok miod@ kettenis@Otto Moerbeek
2007-01-03Fix format string misuse in kssl_err_set(), which is notMoritz Jodeit
called with user-supplied strings at the moment. ok markus@
2007-01-02remove extra \n in bpf_error() calls.Reyk Floeter
figured out by claudio@
2007-01-02define bpf filters to match address and header fields in IEEE 802.11Reyk Floeter
wlan frames (DLT_IEEE802_11 and DLT_IEEE802_11_RADIO linktypes). see tcpdump(8) for details. "Works for me" claudio@ ok jmc@ deraadt@
2006-12-30RFC4291 declares that IPv6 numeric representation must have no more thanJun-ichiro itojun Hagino
4 hex digits between colons. deraadt ok
2006-12-28reword a sentence and kill some trailing whitespace;Jason McIntyre
2006-12-23please gccTheo de Raadt
2006-12-23adapt to new two-level sensor sysctl framework; by Constantine A. MureninTheo de Raadt
2006-12-21make more correct and less confusing; noted by David Madore;Otto Moerbeek
ok jmc@ deraadt@
2006-12-21mention sys/types.h needed; eth0@o2.plTheo de Raadt
2006-12-21'tranfer' -> 'transfer' in comments.Kenneth R Westerback