summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2008-10-22man page for Makefile.yp, and associated bits; from Ingo SchwarzeJason McIntyre
ok deraadt
2008-10-21build w/ USE_LOCALE. ok millert@Martynas Venckus
2008-10-21use decimal point from locale. ok millert@Martynas Venckus
2008-10-20oops, assign errno the right way. caught by david running regress testsOtto Moerbeek
2008-10-19document fts_open error handling; from Tim van der MolenJason McIntyre
ok millert
2008-10-19Document that strptime doesn't set the dst flag.Todd C. Miller
Based on a diff from Mark Bucc. OK jmc@
2008-10-17adjust asm to be pic compatible. okay kettenis@Kurt Miller
2008-10-13use calloc() instead of malloc() and memset()Kevin Lo
"look good" tedu@
2008-10-07- noieee_src: adapt complex versions of the functions it alreadyMartynas Venckus
supports (which is all, except the float ones) ok millert@
2008-10-06The recent change to bsd.own.mk to allow PICFLAG to be overridden madeKurt Miller
these previously ignored PICFLAG settings become active. Remove PICFLAG overrides to restore -fpic/-fPIC modes. In snaps for a week. okay drahn@
2008-10-06update to tzcode2008g from elsie.nci.nih.govTodd C. Miller
2008-10-05Fix conversion of numbers without an exponent.Mark Kettenis
ok martynas@
2008-10-03reduce rbyte cache to 512 bytes, no measurable slowdown (even in theOtto Moerbeek
threaded case) but much smaller working set; prompted by and ok deraadt@
2008-10-03save and restore errno on success. while it is not stricly needed forOtto Moerbeek
non-syscalls, there's just too much code not doing the right thing on error paths; prompted by and ok deraadt@
2008-10-03zap __arc4_getbyte(), it was only used by the old malloc; ok millert@Otto Moerbeek
kurt@
2008-10-03when increasing the size of a larger than a page allocation tryOtto Moerbeek
mapping the region next to the existing one first; there's a pretty high chance there's a hole there we can use; ok deraadt@ tedu@
2008-10-03avoid spitting up regions when purging stuff from the cache, it putsOtto Moerbeek
too much pressure on the amaps. ok tedu@ deraadt@
2008-10-03Make sigwait() work correctly. In particular, it'll work when thePhilip Guenthe
signal is already pending in the calling thread or the main thread and there's no longer a race condition where the signal could be diverted but sigwait() would still block. There were some off-by-one errors too. (The checking of the main thread's pending list is just until a pending list for the process can be added to struct process. For now, such signals end up as pending on the main thread.) oks tedu@ and art@
2008-10-02the license on this is PD; david leonard says soTheo de Raadt
2008-10-02Fix PR #5942: preserve errno across fd flag updates, so that successfulTheo de Raadt
calls to close(), closefrom(), and dup2() don't change it. ok tedu@, deraadt@, kurt@, millert@, art@, marco@ (miscommit: originally by guenther@)
2008-10-02the license on this is PD; david leonard says soTheo de Raadt
2008-10-02simplify and clarify login_getstyle; ok deraadt@Todd C. Miller
2008-10-01POSIX character class support for fnmatch(3) and glob(3). OK deraadt@Todd C. Miller
2008-10-01Simplify the loop used for bp overflow detection to match what I'mTodd C. Miller
using on the list server.
2008-10-01Fix for sequential retrieval failure when using large key/data pairs.Todd C. Miller
Closes PR 2764. Has been running on the list server for years. OK deraadt@
2008-10-01Assert my copyright on files I gave to d@ back in 1998.Dale Rahn
2008-09-29Use large pic asm for access to errno (needed for pie). Originally fromKurt Miller
drahn@ but tweaked to use same scratch reg as PIC_PROLOGUE. okay miod@ drahn@
2008-09-26Remove PICFLAG= setting, it is overridden in bsd.prog.mk. tested on landisk.Dale Rahn
Caught and ok kurt@
2008-09-19fix some cause of bad TEXTREL on i386 and amd64Otto Moerbeek
- global function calls in .init sections (diff makes them via PLT) - calls to global functions in aes-586.S (made static or local) - global variable accesses in rc4-x86_64.S (now made via GOT) from djm@large; ok miod@
2008-09-16remove d_cbrt, dcbrt, d_sqrt. ok millert@Martynas Venckus
2008-09-16typo: is -> if. ok millert@Martynas Venckus
2008-09-16gc unused files, the functions are in libc. ok millert@Martynas Venckus
2008-09-16Add PIOD_READ_AUXV, a way to get the ELF auxilliary vector through ptrace(2).Mark Kettenis
ok miod@
2008-09-15add missing header needed by strlen().Charles Longeau
ok millert@
2008-09-15- describe how printf(1) and printf(3) %e, %E, %g, %G, %a, %A behaveMartynas Venckus
when the argument is infinity/not-a-number ok millert@, jmc@
2008-09-14describe %a/%A. from freebsdMartynas Venckus
tweaks/ok millert@, jmc@
2008-09-13document strtold. ok millert@Martynas Venckus
2008-09-13strtof has been introduced in c99Martynas Venckus
from Thomas Pfaff. ok millert@
2008-09-13remove z_abs. ok millert@Martynas Venckus
2008-09-12the last example doesn't need a ctx variable;Damien Miller
from Loic Tortay via jmc@
2008-09-12as we did for reboot(8), do not attempt to list architecturesJason McIntyre
which do or do not support certain options: it just goes horribly out of date;
2008-09-11since these got no ieee-specific code anymore, add fmin, fmax, fdim,Martynas Venckus
fminf, fmaxf, fdimf, fdiml for VAX. looks good to millert@
2008-09-11- make much more readable: don't reimplement isnan, signbit eachMartynas Venckus
time we need them ok millert@
2008-09-10use one call to arc4random_buf() instead of lots of arc4random()Damien Miller
2008-09-09sigh, gamma got lostMartynas Venckus
2008-09-08turn off CAST assembler code (i.e. use C implementation) as it has badDamien Miller
relocations that lead to libcrypto.so being marked TEXTREL; linker-fu from drahn@ "go ahead" deraadt@
2008-09-07- replace dtoa w/ David's gdtoa, version 2008-03-15Martynas Venckus
- provide proper dtoa locks - use the real strtof implementation - add strtold, __hdtoa, __hldtoa - add %a/%A support - don't lose precision in printf, don't round to double anymore - implement extended-precision versions of libc functions: fpclassify, isnan, isinf, signbit, isnormal, isfinite, now that the ieee.h is fixed - separate vax versions of strtof, and __hdtoa - add complex math support. added functions: cacos, casin, catan, ccos, csin, ctan, cacosh, casinh, catanh, ccosh, csinh, ctanh, cexp, clog, cabs, cpow, csqrt, carg, cimag, conj, cproj, creal, cacosf, casinf, catanf, ccosf, csinf, ctanf, cacoshf, casinhf, catanhf, ccoshf, csinhf, ctanhf, cexpf, clogf, cabsf, cpowf, csqrtf, cargf, cimagf, conjf, cprojf, crealf - add fdim, fmax, fmin - add log2. (adapted implementation e_log.c. could be more acruate & faster, but it's good enough for now) - remove wrappers & cruft in libm, supposed to work-around mistakes in SVID, etc.; use ieee versions. fixes issues in python 2.6 for djm@ - make _digittoint static - proper definitions for i386, and amd64 in ieee.h - sh, powerpc don't really have extended-precision - add missing definitions for mips64 (quad), m{6,8}k (96-bit) float.h for LDBL_* - merge lead to frac for m{6,8}k, for gdtoa to work properly - add FRAC*BITS & EXT_TO_ARRAY32 definitions in ieee.h, for hdtoa&ldtoa to use - add EXT_IMPLICIT_NBIT definition, which indicates implicit normalization bit - add regression tests for libc: fpclassify and printf - arith.h & gd_qnan.h definitions - update ieee.h: hppa doesn't have quad-precision, hppa64 does - add missing prototypes to gdtoaimp - on 64-bit platforms make sure gdtoa doesn't use a long when it really wants an int - etc., what i may have forgotten... - bump libm major, due to removed&changed symbols - no libc bump, since this is riding on djm's libc major crank from a day ago discussed with / requested by / testing theo, sthen@, djm@, jsg@, merdely@, jsing@, tedu@, brad@, jakemsr@, and others. looks good to millert@ parts of the diff ok kettenis@ this commit does not include: - man page changes
2008-09-07sparc now requires this bloated library to be -fPICTheo de Raadt
2008-09-07Fix merge botch.Mark Kettenis
ok miod@
2008-09-07Fix param list for xdrrec_eof. Found during coding some stuff that usesMarco Peereboom
xdr goo.