summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2011-07-04move the specfs code to a place people can see it; ok guenther thib krwTheo de Raadt
2011-07-04- Take into account padding for the IEEE extended shape types. ItMartynas Venckus
should be 96-bits on 32-bit architectures, and 128-bits on 64-bit architectures. - Add abstract macros to operate on long doubles by words. To be used soon.
2011-07-04enter ia64 for objTheo de Raadt
2011-07-04tweak previous;Jason McIntyre
2011-07-04Add csu ia64 support.Paul Irofti
2011-07-04Add ia64 libc support.Paul Irofti
2011-07-04Add wcsdup(), from NetBSD.Nicholas Marriott
ok deraadt matthew
2011-07-04Implement an idle timeout for the socket splicing. A new `sp_idle'Mike Belopuhov
field of the `splice' structure can be used to specify a period of inactivity after which splicing will be dissolved. ETIMEDOUT error retrieved with a SO_ERROR indicates the idle timeout expiration. With comments from and OK bluhm.
2011-07-03"it's" -> "its" in a couple of comments.Kenneth R Westerback
2011-07-03Recognize %a, %A format specifiers, per C99.Martynas Venckus
2011-07-03In pthread_key_delete(), only scan other threads if the key was allocatedPhilip Guenthe
and handle the case of specific_data being NULL. Pointed out by fgsch@, ok tedu@
2011-07-03Swap bitmask values around so that STRTOG_Neg doesn't get affectedMartynas Venckus
by the inexact values.
2011-07-03Properly implement the long double (%Lf) scanf without the precisionMartynas Venckus
loss.
2011-07-02For tiny x, tanhf = x*(one+x). GCC (at -O2) optimized this intoMartynas Venckus
x+x*x, as a result sign got lost for the zero inputs. Explicitly return in this case, similarly like has been done in tanh.
2011-07-02Trick lint into recording the right prototypes in the llib-lc.lnMartynas Venckus
database on the vax, similarly like has been done in gen.
2011-07-02Rebase on gdtoa-20110428; contains fixes for absurdly long inputsMartynas Venckus
(among other things). Fixes mozilla crasher for the link i was provided with. With the massive local changes to teach that malloc can fail, fixes for the vax, strlcpy, moving things to library namespaces. Tested on all architectures.
2011-07-02pthread_key_delete should delete the data, so it's not reused byTed Unangst
a later pthread_key_create. bug report from Henry Precheur. ok guenther mikeb
2011-07-01Enable the knob to dynamically allocate (large) state structures.Todd C. Miller
2011-06-30Do not mask errno if we fail to open /dev/diskmap. Also, fall throughJoel Sing
rather than returning so that realname still gets assigned. ok millert@ deraadt@ thib@
2011-06-27document HW_ALLOWPOWERDOWN; reminded by and ok jmc@Christian Weisgerber
2011-06-25No need for files generated by depend.Okan Demirmen
ok nicm@
2011-06-23switch to installing source manuals (base part)Ingo Schwarze
discussed with lots of people, tested by naddy@, "move fast" deraadt@
2011-06-23s/ands/and/, from Tobias UlmerStuart Henderson
2011-06-20as man page states, lower case undoes upper case. add support for little s,Ted Unangst
no security, for consistency. use of this option is discouraged. :) ok deraadt guenther millert
2011-06-15Add the following certs:David Hill
DigiCert High Assurance CA-3 Go Daddy Secure Certification Authority/serialNumber=07969287 Equifax Secure Certificate Authority VeriSign Class 3 Public Primary Certification Authority - G5 Entrust Certification Authority - L1C Entrust.net Secure Server Certification Authority ok mikeb@ beck@ fgsch@ constant prodding by marco@
2011-06-08- The 0x1p514 was wrong on VAX, but remove FP_SUBNORMAL, FP_INFINITE,Martynas Venckus
and FP_NAN cases altogether, since they are not supported, and fpclassify() will never return that. (Leftovers when this was cloned.) - Kill unused INFSTR, NANSTR, LDBL_ADJ. - Teach hdtoa() that rv_alloc can fail. - Move STRTOG_NoMemory above STRTOG_Infinite (fallthru).
2011-06-06Userland counterpart of the vmmap backout; cranks major version of libkvm.Ariane van der Steldt
2011-06-03lots of back things happening in this signal handler, but at leastTheo de Raadt
start to clean up the simple stuff ok nicm
2011-06-03+.Xr hcreate 3 ,Jason McIntyre
requested by Daniel Dickman ok espie
2011-06-03one midicat server can export multiple midithru portsAlexandre Ratchov
2011-06-03don't forget to send the initial clock tickAlexandre Ratchov
2011-06-01fix wcscasecmp() parameters; <wchar.h> was correctChristian Weisgerber
2011-05-31Call the single, not double-precision version of copysign for theMartynas Venckus
float arguments.
2011-05-31Make lint play nicer in pass 2 of libm on amd64 and i386. TheMartynas Venckus
internal _ItL_* extended-precision constants are of course going to be declared inconsistently since we define them based on structures; however prototype as long doubles.
2011-05-30For tiny x, tanh = x*(one+x). GCC (at -O2) optimized this intoMartynas Venckus
x+x*x, as a result sign got lost for the input of -0. Explicitly return negative zero in this case. Found by Cephes.
2011-05-30Document why everything in this signal handler is totally unsafe -- it isTheo de Raadt
totally ridiculous to call all sorts of stdio and malloc stuff in a signal handler. These comments have been looked at by nicm, and then passed upstream.
2011-05-30Make printf-like and scanf-like functions marked as such in llib-lc.lnMartynas Venckus
and llib-lwrap.ln databases; so that the lint features doing format strings checks are enabled by default. Looks good to millert@.
2011-05-30Trick lint into recording the right prototypes in the llib-lm.lnMartynas Venckus
database on platforms without extended-precision floating-point support. Seems like a reasonable approach to millert@.
2011-05-30Trick lint into recording the right prototypes in the llib-lc.lnMartynas Venckus
database on platforms without extended-precision floating-point support. Seems like a reasonable approach to millert@.
2011-05-28Store -1 into signgam in case of a special value of -0.Martynas Venckus
2011-05-28Adapt m68k MD functions to extended-precision.Martynas Venckus
Go for it miod@.
2011-05-28Adapt m68k MD functions to single-precision.Martynas Venckus
Looked over by miod@.
2011-05-28tweak previous (my fault);Jason McIntyre
2011-05-28wcs(n)casecmp support, manpage comments from jmc@, okay deraadt@Marc Espie
2011-05-26tweak previous; ok martynasJason McIntyre
2011-05-26remove hack to test and create /usr/lib/pkgconfig/ if needed, it's been sixJasper Lievisse Adriaanse
months since it was introduced so it's safe to assume people have this dir now. ok deraadt@
2011-05-25Document nearbyint, nearbyintf, nearbyintl.Martynas Venckus
2011-05-25Document C99 floating-point environment.Martynas Venckus
2011-05-25On PowerPC we cannot manipulate FPSCR[VX]--it's a summary of allMartynas Venckus
the invalid exception bits, as described in Section 3.3.6.1.1 of PowerPC Architecture Programming Environments Manual. A proper way to cause an invalid operation exception is to set FPSCR[VXSOFT]. Similarly, we clear all the FPSCR[VX*] bits otherwise.
2011-05-24Reimplement uvm/uvm_map.Ariane van der Steldt
vmmap is designed to perform address space randomized allocations, without letting fragmentation of the address space go through the roof. Some highlights: - kernel address space randomization - proper implementation of guardpages - roughly 10% system time reduction during kernel build Tested by alot of people on tech@ and developers. Theo's machines are still happy.