1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/lib
David Schultz 18798c64f0 scandir(3) previously used st_size to obtain an initial estimate
of the array length needed to store all the directory entries.
Although BSD has historically guaranteed that st_size is the size
of the directory file, POSIX does not, and more to the point, some
recent filesystems such as ZFS use st_size to mean something else.

The fix is to not stat the directory at all, set the initial
array size to 32 entries, and realloc it in powers of 2 if that
proves insufficient.

PR:	113668
2008-03-16 19:08:53 +00:00
..
bind One more glue update for BIND 9.4.2 2007-12-02 22:21:30 +00:00
csu The __used (== __attribute__((__used)) ) silences the warning produced 2007-12-04 12:18:43 +00:00
libalias -Don't pass down the entire pkt to ProtoAliasIn, ProtoAliasOut, FragmentIn 2008-03-12 11:58:29 +00:00
libarchive Update a comment: the format bid only runs once per archive; it no 2008-03-15 11:09:16 +00:00
libatm
libautofs
libbegemot
libbluetooth
libbsm Install getaudit_addr(2) and setaudit_addr(2) links to getaudit(2) and 2007-10-19 10:37:34 +00:00
libbsnmp - Bump share library version which were missed in last bump 2007-06-18 18:47:54 +00:00
libbz2
libc scandir(3) previously used st_size to obtain an initial estimate 2008-03-16 19:08:53 +00:00
libc_r
libcalendar
libcam
libcom_err
libcompat
libcrypt
libdevinfo
libdevstat The devstat(3) manpage claims that only <devstat.h> is needed as a 2008-01-31 16:55:12 +00:00
libdisk - Make Disk_Names() behave as documented in libdisk(3): return an array 2008-02-15 21:19:15 +00:00
libedit Merge NetBSD changes, among them: 2007-06-10 19:06:09 +00:00
libelf - Fix an off-by-one bug in _libelf_insert_section(). [1] 2008-03-03 04:29:25 +00:00
libexpat
libfetch Use memcpy(3) instead of the BSD-specific bcopy(3). 2008-02-08 09:48:48 +00:00
libftpio
libgeom
libgpib
libgssapi Make sure GSS-API mechanisms are loaded if gss_acquire_cred is called 2007-11-28 08:50:20 +00:00
libipsec Commit IPv6 support for FAST_IPSEC to the tree. 2007-07-01 12:08:08 +00:00
libipx
libkiconv
libkse Add missing #include 2008-02-06 23:25:29 +00:00
libkvm - Don't inspect the P_SA flag. It's being removed. 2008-03-12 10:00:33 +00:00
libmagic Update for the 'file' 4.23 import. 2008-01-13 20:37:19 +00:00
libmd
libmemstat
libmilter Switch libmilter from select(2) to poll(2) so milters are not limited 2008-02-17 05:14:47 +00:00
libmp
libncp
libnetgraph
libngatm
libopie
libpam Adjust for OpenPAM Hydrangea. 2007-12-21 12:00:16 +00:00
libpcap Update for libpcap 0.9.8 import 2007-10-16 02:10:44 +00:00
libpmc - Document Pentium and Pentium MMX events. 2008-03-14 06:22:03 +00:00
libradius
librpcsvc set WARNS to 1: with WARNS=2 an aliasing error in a file generated by 2008-02-05 20:03:45 +00:00
librt
libsbuf
libsdp Add structures to hold SDP parameters for the NAP, GN and PANU profiles. 2008-03-11 00:08:40 +00:00
libsm
libsmb
libsmdb
libsmutil
libstand Fix logical bug in the bzip2 reading code, which results in bogus EIO 2007-12-18 01:50:49 +00:00
libtacplus
libtelnet
libthr Actually delete SIGCANCEL mask for suspended thread, so the signal will not 2008-03-16 03:22:38 +00:00
libthread_db - Remove libkse and related support code in libpthread from the build. 2008-03-12 09:49:39 +00:00
libufs Add a berase() function which uses ioctl(DIOCGDELETE) to erase a slab 2007-12-16 18:02:37 +00:00
libugidfw
libusbhid
libutil Merge changes from NetBSD on humanize_number.c, 1.8 -> 1.13 2008-03-08 21:55:59 +00:00
libvgl
libwrap
liby
libypclnt
libz
msun 1 << 47 needs to be written 1ULL << 47. 2008-03-02 20:16:55 +00:00
ncurses - Remove duplicate tputs.3 from MLINK. As we use termcap in the bsae, remove 2008-02-13 14:34:39 +00:00
Makefile - Remove libkse and related support code in libpthread from the build. 2008-03-12 09:49:39 +00:00
Makefile.inc