summaryrefslogtreecommitdiffstats
path: root/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove distinction between warnings and errors, ok deraadt@ djm@otto2008-11-022-73/+38
|
* Pass a pointer to warn2 so the warn2 == IN_ALL would not be anmillert2008-10-311-2/+2
| | | | always-false condition. From FreeBSD (delphij).
* if MALLOC_STATS is defined, record how many "cheap reallocs" wereotto2008-10-291-1/+8
| | | | tried and how many actually succeeded.
* some SEE ALSO additions from Ingo Schwarze;jmc2008-10-248-16/+24
|
* Reword description of tm_zone and tm_gmtoff fieldsguenther2008-10-231-6/+10
| | | | Prompted by millert@; ok millert@ jmc@
* man page for Makefile.yp, and associated bits; from Ingo Schwarzejmc2008-10-221-3/+27
| | | | ok deraadt
* build w/ USE_LOCALE. ok millert@martynas2008-10-211-1/+2
|
* use decimal point from locale. ok millert@martynas2008-10-211-3/+3
|
* oops, assign errno the right way. caught by david running regress testsotto2008-10-201-2/+2
|
* document fts_open error handling; from Tim van der Molenjmc2008-10-191-2/+10
| | | | ok millert
* Document that strptime doesn't set the dst flag.millert2008-10-191-2/+15
| | | | Based on a diff from Mark Bucc. OK jmc@
* update to tzcode2008g from elsie.nci.nih.govmillert2008-10-061-6/+6
|
* Fix conversion of numbers without an exponent.kettenis2008-10-051-4/+4
| | | | ok martynas@
* reduce rbyte cache to 512 bytes, no measurable slowdown (even in theotto2008-10-031-2/+2
| | | | threaded case) but much smaller working set; prompted by and ok deraadt@
* save and restore errno on success. while it is not stricly needed forotto2008-10-031-4/+14
| | | | | non-syscalls, there's just too much code not doing the right thing on error paths; prompted by and ok deraadt@
* zap __arc4_getbyte(), it was only used by the old malloc; ok millert@otto2008-10-031-14/+1
| | | | kurt@
* when increasing the size of a larger than a page allocation tryotto2008-10-031-3/+41
| | | | | 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@
* avoid spitting up regions when purging stuff from the cache, it putsotto2008-10-031-17/+10
| | | | too much pressure on the amaps. ok tedu@ deraadt@
* simplify and clarify login_getstyle; ok deraadt@millert2008-10-021-14/+7
|
* POSIX character class support for fnmatch(3) and glob(3). OK deraadt@millert2008-10-013-8/+149
|
* Simplify the loop used for bp overflow detection to match what I'mmillert2008-10-011-8/+5
| | | | using on the list server.
* Fix for sequential retrieval failure when using large key/data pairs.millert2008-10-011-1/+16
| | | | | Closes PR 2764. Has been running on the list server for years. OK deraadt@
* Use large pic asm for access to errno (needed for pie). Originally fromkurt2008-09-291-2/+4
| | | | | drahn@ but tweaked to use same scratch reg as PIC_PROLOGUE. okay miod@ drahn@
* Add PIOD_READ_AUXV, a way to get the ELF auxilliary vector through ptrace(2).kettenis2008-09-161-2/+6
| | | | ok miod@
* add missing header needed by strlen().chl2008-09-151-1/+2
| | | | ok millert@
* - describe how printf(1) and printf(3) %e, %E, %g, %G, %a, %A behavemartynas2008-09-151-2/+38
| | | | | when the argument is infinity/not-a-number ok millert@, jmc@
* describe %a/%A. from freebsdmartynas2008-09-141-2/+58
| | | | tweaks/ok millert@, jmc@
* document strtold. ok millert@martynas2008-09-132-11/+25
|
* strtof has been introduced in c99martynas2008-09-131-4/+6
| | | | from Thomas Pfaff. ok millert@
* the last example doesn't need a ctx variable;djm2008-09-121-3/+2
| | | | from Loic Tortay via jmc@
* as we did for reboot(8), do not attempt to list architecturesjmc2008-09-121-5/+2
| | | | | which do or do not support certain options: it just goes horribly out of date;
* - replace dtoa w/ David's gdtoa, version 2008-03-15martynas2008-09-07162-2732/+12385
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* Fix param list for xdrrec_eof. Found during coding some stuff that usesmarco2008-09-071-3/+3
| | | | xdr goo.
* crank for sha2 changesdjm2008-09-061-1/+1
|
* Rename SHA256/384/512 API to avoid namespace collisions withdjm2008-09-063-137/+143
| | | | | | | | | | forthcoming OpenSSL update. Function names lose their underscore (SHA256_Init => SHA256Init) and the various SHA256_CTX, SHA512_CTX are merged into a single SHA2_CTX that is used for all these hashes. ok millert@ manpage bits jmc@ "please commit" deraadt@
* remove now obsolete calloc implementation; prompted by miodotto2008-09-031-50/+0
|
* do not overflow for large prefix len (e.g. 2147483649)markus2008-09-011-3/+3
| | | | report Maksymilian Arciemowicz; ok djm, deraadt
* comment fixesmartynas2008-08-271-7/+7
|
* - add Fmartynas2008-08-262-11/+33
| | | | | | - make inf INF nan NAN comply to standards (eEfFgG) - extend man page bits ok millert@. w/ a man page tweak and ok jmc@
* don't zero-pad special values. ok millert@martynas2008-08-261-1/+3
|
* correct +name handling; schwarze@usta.dederaadt2008-08-251-6/+7
|
* Make all combinations of G, P, J and zero-fill work with as littleotto2008-08-251-5/+20
| | | | effort as possible in most cases; ok djm@
* add missing header needed by asprintf().chl2008-08-231-1/+2
| | | | ok otto@ deraadt@
* make mbstowcs(NULL, string, 0) correctly return the length of thedjm2008-08-231-2/+3
| | | | | wchar_t string needed to represent "string", which in our case is just strlen(string); feedback & "looks right" deraadt@
* unbreak MALLOC_OPTIONS=G that I broke in my last commit;djm2008-08-231-3/+3
| | | | slightly kludgey solution for until otto fixes it properly; ok otto@
* fix calloc() for MALLOC_OPTIONS=J case: SOME_JUNK was being filled intodjm2008-08-231-2/+2
| | | | | the freshly mmaped pages disrupting their pure zeroness; ok otto@ deraadt@
* unbreak wcschr(string, L'\0') which was incorrectly returning NULLdjm2008-08-231-3/+5
| | | | rather than a pointer to the terminating nul; ok deraadt@
* make sure we always map and unmap multiples of MALLOC_PAGESIZE;otto2008-08-221-5/+14
| | | | case spotted by beck, one by me; ok deraadt@ beck@
* Smarter implementation of calloc(3), which uses the fact that mmap(2)otto2008-08-222-8/+57
| | | | | returns zero filled pages; remember to replace this function as well if you provide your own malloc implementation; ok djm@ deraadt@
* mention machine/cpu.h for the CPU identifiers.brad2008-08-221-2/+4
|