summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2008-08-27comment fixesMartynas Venckus
2008-08-26- add FMartynas Venckus
- make inf INF nan NAN comply to standards (eEfFgG) - extend man page bits ok millert@. w/ a man page tweak and ok jmc@
2008-08-26don't zero-pad special values. ok millert@Martynas Venckus
2008-08-25correct +name handling; schwarze@usta.deTheo de Raadt
2008-08-25Make all combinations of G, P, J and zero-fill work with as littleOtto Moerbeek
effort as possible in most cases; ok djm@
2008-08-23add missing header needed by asprintf().Charles Longeau
ok otto@ deraadt@
2008-08-23make mbstowcs(NULL, string, 0) correctly return the length of theDamien Miller
wchar_t string needed to represent "string", which in our case is just strlen(string); feedback & "looks right" deraadt@
2008-08-23unbreak MALLOC_OPTIONS=G that I broke in my last commit;Damien Miller
slightly kludgey solution for until otto fixes it properly; ok otto@
2008-08-23fix calloc() for MALLOC_OPTIONS=J case: SOME_JUNK was being filled intoDamien Miller
the freshly mmaped pages disrupting their pure zeroness; ok otto@ deraadt@
2008-08-23unbreak wcschr(string, L'\0') which was incorrectly returning NULLDamien Miller
rather than a pointer to the terminating nul; ok deraadt@
2008-08-22make sure we always map and unmap multiples of MALLOC_PAGESIZE;Otto Moerbeek
case spotted by beck, one by me; ok deraadt@ beck@
2008-08-22Smarter implementation of calloc(3), which uses the fact that mmap(2)Otto Moerbeek
returns zero filled pages; remember to replace this function as well if you provide your own malloc implementation; ok djm@ deraadt@
2008-08-22mention machine/cpu.h for the CPU identifiers.Brad Smith
2008-08-22After spotting a + record, continue scanning and pick up later groupsTheo de Raadt
in the file. Problem spotted by drahn. ok millert
2008-08-22Replace the old algorithm that included the process id as part of theTodd C. Miller
temporary file name with one that only uses random data. OK deraadt@
2008-08-21Remove useless code, the kernel will set errno appropriately if anTodd C. Miller
element in the path does not exist. OK deraadt@ pvalchev@
2008-08-15Add resolv.conf(5) option to force lookups by TCP: "options tcp"Damien Miller
Also Extend "nameserver" declaration syntax to support port numbers. To avoid ambiguity these are only parsed when the address is enclosed in square brackets, e.g. "nameserver [127.0.0.1]:5353" Together these changes make forwarding DNS over a SSH tunnel very easy, but unfortunately some programs in ports/ implement their own resolvers (e.g. firefox). These will need to be modified to support these options separately. fixes jsing@ reyk@ ok deraadt@ millert@ krw@ + "I like it" from lots
2008-08-14Match libpthread's behavior and make pthread_join(NULL, whatever) failPhilip Guenthe
instead of crashing ok kurt@ first observed by Jung <moorang at gmail.com>
2008-08-14Fix 5771/library: in pthread_exit(), delay the call to _sem_post() thatPhilip Guenthe
unblocks the pthread_join() for this thread until the exiting thread is completely done with its thread structure, as the joining thread will free it once unblocked. Also, don't bother to call _sem_post() if the thread is detached. ok kurt@
2008-08-14If the initial thread calls pthread_exit(), don't overwrite its threadPhilip Guenthe
structure, as the 'tid' member there is used by other parts of librthread to determine whether the current thread is the initial thread
2008-08-08revertMartynas Venckus
2008-08-08make _digittoint staticMartynas Venckus
2008-08-07small cleanup of error/warning stringsOtto Moerbeek
2008-08-04improve SEE ALSO links; from Ingo SchwarzeJason McIntyre
ok otto millert
2008-07-30various markup/grammar fixes for previous, and a missing MLINKJason McIntyre
for remquof.3;
2008-07-29add descriptions for fpclassify, isfinite, isnormal, nan, remquo,Martynas Venckus
signbit
2008-07-29- add man pages for nan and remainder, from freebsdMartynas Venckus
- mlink drem, dremf, remainderf to remainder; nanf to nan - describe that drem and dremf are obsolete aliases - remove descriptions for remainder and remainderf from ieee looked over by jmc@, but it's easier for him to work on when they are in tree
2008-07-29describe exp2, exp2f and mlink themMartynas Venckus
2008-07-29clarify EMSGSIZEGilles Chehade
rewording by jmc@, "lovely" deraadt@
2008-07-29tweak previous;Jason McIntyre
2008-07-29Split SHA1Transform() back into smaller pieces when compiling on landisk,Miod Vallat
to defeat gcc optimization bugs. Similar to what had been done on sparc64 in the past. ok millert@ deraadt@
2008-07-29remove finite from ieee.3, and unmlink from makefileMartynas Venckus
2008-07-29removeMartynas Venckus
2008-07-29- man pages for fpclassify, isfinite, isinf, isnan, isnormal, signbit,Martynas Venckus
mostly from freebsd - also describe deprecated aliases for isinff, isnanf, finite, finitef - describe behavior on vax - add mlinks for finite, finitef, isfinite, isinf, isinff, isnan, isnanf, isnormal, signbit - add man pages for isgreater, isgreaterequal, isless, islessequal, islessgreater, isunordered; from freebsd looked over by jmc@, it's better for him to work on when they are in tree
2008-07-29example code fix from Will Maier; ok ottoJason McIntyre
2008-07-28Install man pages for the BIO_* libcrypto functions, but not bio.3Jonathan Gray
as the page doesn't directly describe any functions. ok deraadt@
2008-07-28some SEE ALSO fixes;Jason McIntyre
2008-07-28man page bits for new malloc; ok jmc@Otto Moerbeek
2008-07-28Update to tzcode2008e from elsie.nci.nih.govTodd C. Miller
2008-07-28document which functions use which YP maps; Ingo SchwarzeTheo de Raadt
2008-07-28Remove separate pic versions of crt0, crtbegin, crtend. NextKurt Miller
release we are taking a different approach. Idea from kettenis@. okay kettenis@ weingart@
2008-07-28Almost complete rewrite of malloc, to have a more efficient dataOtto Moerbeek
structure of tracking pages returned by mmap(). Lots of testing by lots of people, thanks to you all. ok djm@ (for a slighly earlier version) deraadt@
2008-07-25i have to crank this for a ridiculous reason, to save me about 4 hours of workTheo de Raadt
2008-07-25fix apps that use isinff, isnanf; use ieee 754 mi code, as allMartynas Venckus
other ieee fp archs do; pointed out by theo. tested by theo
2008-07-24- remove isinff, isnanf. this has been moved to libcMartynas Venckus
- remove never-enabled signbit. libc has is now - add C99 implementations, from freebsd, for nan(), nanf() (needed to write _digittoint for it), exp2(), exp2f(), remquo(), remquof(), needed STRICT_ASSIGN macro for math_private.h - bump major man pages will follow exp2{,f} has been requested by chl@ ok millert@
2008-07-24- move isinf, isnan dups to gen, since most is ieee 754Martynas Venckus
- is{inf,nan} should be macros for real-floating, so rename to __is{inf,nan}, per C99 - implement C99 __fpclassify(), __fpclassifyf(), __isfinite(), __isfinitef(), __isnormal(), __isnormalf(), __signbit(), __signbitf() - long functions added, but not yet enabled, till ieee.h is fixed - implement vax equivalents of the functions - reimplement isinff, isnanf in a better way, and move to libc - add qnan bytes for all archs - bump major man pages will follow ok millert@. arm bits looked over by drahn@ discussed w/ theo, who showed the right direction, to put these functions in libc
2008-07-23Avoid an occasional double free in getpwent() which corrupted memory. ItTheo de Raadt
happened only in the case of a + record indicating to use YP, but with ypbind not actually running. Problem found by pyr; solution found with millert ok millert pyr
2008-07-23clear sign bit, instead of comparing to zero and setting x=-x.Martynas Venckus
fixes special cases, such as neg. zero, and makes C99 conformant ok miod@, millert@ since there's nothing else in arm's fabs.c, replace 4-clause license w/ the one at /usr/share/misc/license.template
2008-07-22use arc4random_uniform(); ok djm millertTheo de Raadt
2008-07-22remez -> Remes here, too. for consistencyMartynas Venckus