summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2011-05-20save errno dance in wrterror() and malloc_dump(); prompted by and ok deraadt@Otto Moerbeek
2011-05-18introduce symbolic constant for initial number of regionsOtto Moerbeek
2011-05-18zap regions_bits and rework MALLOC_MAXSHIFT a bit; ok djm@Otto Moerbeek
2011-05-16remove Xr for a page we don;t yet have; ok stspJason McIntyre
2011-05-12Avoid fp computations for stats, this make calling malloc_dump() safe in moreOtto Moerbeek
cases.
2011-05-12fix comment, the bitmap is an array of u_short nowOtto Moerbeek
2011-05-12Introduce leak detection code for MALLOC_STATSOtto Moerbeek
2011-05-12When the max number of items for a directory has reached GLOB_LIMIT_READDIRPierre-Yves Ritschard
an error is returned but closedir() is not called. spotted and fix provided by Frank Denis obsd-tech@pureftpd.org ok otto@, millert@
2011-05-09Add a wprintf(3) man page based on FreeBSD's page. Help and ok schwarze jmcStefan Sperling
2011-05-09Always free the multibyte->wchar conversion buffer allocated in __mbsconv().Stefan Sperling
ok matthew dcoppa miod
2011-05-09in sio_psleep(), use an array of SIO_MAXNFDS pollfd strucures ratherAlexandre Ratchov
than a single one. No behaviour change
2011-05-08Move MALLOC_STATS code to bottom of file, so the real stuff is more at the top.Otto Moerbeek
2011-05-06use an array of backends and iterate on it, instead of inliningAlexandre Ratchov
calls to sio_<backend>_open(). No behaviour change
2011-05-06remove almost two years old hack to support legacy audio/midiAlexandre Ratchov
device names
2011-05-05Make this script more generic and minimize differences betweenJasper Lievisse Adriaanse
the openssl and libz versions: - use a generic ${lib_version} - define ${version_file} to look run ${version_re} on to acquire the library version. - add license - remove unused -k flag no change in generated files ok sthen@
2011-05-05Up until now, malloc scanned the bits of the chunk bitmap fromOtto Moerbeek
position zero, skipping a random number of free slots and then picking the next free one. This slowed things down, especially if the number of full slots increases. This changes the scannning to start at a random position in the bitmap and then taking the first available free slot, wrapping if the end of the bitmap is reached. Of course we'll still scan more if the bitmap becomes more full, but the extra iterations skipping free slots and then some full slots are avoided. The random number is derived from a global, which is incremented by a few random bits every time a chunk is needed (with a small optimization if only one free slot is left). Thanks to the testers!
2011-05-04Add a zlib.pc pkg-config file, based what newer zlibs ship.Jasper Lievisse Adriaanse
tested by landry@ in a bulk. ok miod@ sthen@
2011-05-03determine the default device in backend code instead of the commonAlexandre Ratchov
code. This is simpler as long as not all backends use the same default.
2011-05-03Adjust to explicitly list ${libdir}.Jasper Lievisse Adriaanse
ok sthen@
2011-05-02Add missing byter order conversions in message headers. Fixes the caseAlexandre Ratchov
when the server and the client are not of the same endianness. Found by naddy.
2011-05-02set the TCP_NODELAY option for TCP connectionsAlexandre Ratchov
2011-05-02forgotten in previous;Jason McIntyre
2011-05-02document SO_RTABLE; with suggestions and ok jmc, claudioMike Belopuhov
2011-05-02no need to escape `|'; as discussed with schwartzeJason McIntyre
2011-04-30Now that we use an array of u_short for the chunk bitmap change a fewOtto Moerbeek
1UL to 1U.
2011-04-30More efficient scanning for free chunks while not losing any randomization;Otto Moerbeek
thanks to all testers.
2011-04-29Trick GCC (-O2) into actually raising the underflow exception on m88k.Martynas Venckus
Since the second division operand is a power of two, non-zero, non-nan, this got optimized (-O2) into multiplication. As a result the underflow exception wasn't being raised properly. Make the second operand a volatile to prevent incorrect optimizations. OK miod@.
2011-04-29Add BUGS section explaining that these functions do not cover the entireStefan Sperling
Unicode character set in a UTF-8 locale and can therefore return wrong answers.
2011-04-29remove dead Xrs to update.8;Jason McIntyre
2011-04-28ixnay on the nopfayMiod Vallat
2011-04-28fix build ok martynas@Todd T. Fries
2011-04-28- enable fenvMartynas Venckus
- add nearbyint, nearbyintf and nearbyintl implemented using fenv
2011-04-28Bring back wprintf. We've sorted out what to do for gcc2 and gcc3.Stefan Sperling
"Yes, go ahead then" deraadt
2011-04-28fenv improvements and cleanupsMartynas Venckus
2011-04-28Implement a new authentication method allowing aucat and midicat toAlexandre Ratchov
work over TCP, for instance, to expose the sound card of one machine with other machines of the network. The first client generates a 128-bit random number (aka the session cookie), saves it in $HOME/.aucat_cookie and sends it to the server. Successive clients load the cookie from $HOME/.aucat_cookie and send it to the server but the server accepts only clients whose cookie matches the session cookie. When all clients are gone, the session is over, and another cookie could start a new session, and so on. TCP is enabled on the server with the new -L option, and on the client side hostnames are specified with a new optional component in the device name. hints from damien, dlg and deraadt, tweaks from jmc
2011-04-27move amsg.h containing protocol defs from aucat side to libsndio side.Alexandre Ratchov
requested by deraadt
2011-04-27Tweak the description of the optional parts around =. Found this in myOtto Moerbeek
tree, no idea where it came from; ok millert@ jmc@
2011-04-26spring cleanup:Ingo Schwarze
* shorten and clarify some explanations * update the POSIX reference, this conforms to -2008 as well * use .In and .Rv where possible ok tedu@, feedback and ok jmc@
2011-04-26fenv for mips64Martynas Venckus
2011-04-25Document amd64/i386 denormalization exception; after discusion w/ tedu@.Martynas Venckus
OK tedu@.
2011-04-25fenv for sparc; mostly cloned from sparc64Martynas Venckus
2011-04-25fenv for powerpcMartynas Venckus
2011-04-25Teach sysconf(_SC_GETGR_R_SIZE_MAX) the correct size of a buffer for theStuart Henderson
reentrant getgrent functions (getgrgid_r, getgrnam_r). seems reasonable to millert@, ok deraadt@
2011-04-25Update to tzcode2011g from elsie.nci.nih.gov.Todd C. Miller
2011-04-24fenv for shMartynas Venckus
2011-04-24Back out wprintf until we've determined what to do for gcc2 and gcc3 arches.Stefan Sperling
2011-04-24remove STANDARDS section, as this function does not conform to any;Jason McIntyre
prompted by deraadt original issue (mandoc has no support for \*(Px) reported by Matthew Dempsky; kristaps and ingo are looking at whether to add support for the Px or not;
2011-04-24Add fwprintf, swprintf, vfwprintf, vswprintf, vwprintf, and wprintf to libc.Stefan Sperling
Based on our vfprintf etc. implementations. Wide character parts based on NetBSD but with lots of macros expanded. Minor bump for libc. ok kettenis espie
2011-04-24fenv for i386, and sparc64; from matthew@Martynas Venckus
not reviewed yet, but it's better to track changes in cvs
2011-04-24fenv for armMartynas Venckus