Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-10-21 | use decimal point from locale. ok millert@ | Martynas Venckus | |
2008-09-15 | add 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 behave | Martynas Venckus | |
when the argument is infinity/not-a-number ok millert@, jmc@ | |||
2008-09-14 | describe %a/%A. from freebsd | Martynas Venckus | |
tweaks/ok millert@, jmc@ | |||
2008-09-07 | - replace dtoa w/ David's gdtoa, version 2008-03-15 | Martynas 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-08-27 | comment fixes | Martynas Venckus | |
2008-08-26 | - add F | Martynas 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-26 | don't zero-pad special values. ok millert@ | Martynas Venckus | |
2008-08-22 | Replace the old algorithm that included the process id as part of the | Todd C. Miller | |
temporary file name with one that only uses random data. OK deraadt@ | |||
2008-08-21 | Remove useless code, the kernel will set errno appropriately if an | Todd C. Miller | |
element in the path does not exist. OK deraadt@ pvalchev@ | |||
2008-07-22 | use arc4random_uniform(); ok djm millert | Theo de Raadt | |
2008-07-10 | - handle sign of negative zero. use sign dtoa sets | Martynas Venckus | |
- remove 'value < 0' cruft, dtoa already clears sign bit for us discussed with, and tested by phessler@ ok millert@, who noticed to remove now-unused variable, and phessler@ | |||
2008-05-16 | Fix ssize_t vs. size_t mismatch | Todd C. Miller | |
2008-05-16 | C99 says that for each va_copy() there must be a matching va_end(). | Todd C. Miller | |
Replace the non-portable hackery in __find_arguments() with a union. From FreeBSD. | |||
2008-05-13 | Don't forget to va_end() the va_list we get from va_copy(). From FreeBSD. | Todd C. Miller | |
2008-05-05 | add missing header for getpagesize | Charles Longeau | |
ok espie@ | |||
2008-05-03 | add missing header for close | Charles Longeau | |
ok otto@ espie@ millert@ | |||
2008-04-21 | _file is only a short, so prevent truncation if we happen to hit | Otto Moerbeek | |
upon a fd > SHRT_MAX. From freebsd via Jan Schaumann; ok deraadt@ millert@ espie@ | |||
2007-11-28 | %hhd was being printed as if %hd was specified | Theo de Raadt | |
ok millert tedu | |||
2007-10-21 | Comment fix about time consumption of _gettemp. | Tobias Stoeckmann | |
FreeBSD did this in revision 1.20. OK deraadt@, krw@ | |||
2007-09-21 | Add some more truncation checks for path construction in tmpnam(3). | Moritz Jodeit | |
ok ray@ | |||
2007-09-17 | Prevent out-of-bounds memory access in tempnam(3), if the environment | Moritz Jodeit | |
variable TMPDIR or the argument `dir' is an empty string. With and ok millert@ ray@ | |||
2007-09-07 | Say NUL when referring to \0 | Chad Loder | |
2007-08-08 | Show how to use strcspn(3) to trim newlines. | Ray Lai | |
OK jmc and millert. | |||
2007-06-21 | The `len' argument is guaranteed to be > 0 upon successful completion. | Moritz Jodeit | |
ok jmc@ ray@ millert@ | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-12 | Document errno usage. From Tobias Stoeckmann. | Ray Lai | |
Earlier diff OK jmc@, with nit by otto@. | |||
2007-05-10 | grammar, | Marc Espie | |
okay jmc@ | |||
2007-04-01 | clarify return values, prompted by moritz; ok moritz jmc | Theo de Raadt | |
2007-01-30 | Remove and simplify an impossible case (if *p = memchr(cp, 0, prec), | Ray Lai | |
p - cp cannot be greater than prec). Prevent an integer overflow when printing a string with length greater than INT_MAX. Initial diff from millert@. OK millert@, beck@, and otto@. | |||
2007-01-29 | add an ENVIRONMENT section for TMPDIR; | Jason McIntyre | |
from freebsd pr# 108346, from Anton Yuzhaninov much tweaked by otto and myself; | |||
2007-01-16 | Fix potential int overflow for printf(3) when passing in very large | Todd C. Miller | |
values for the field width. Adapted from a diff by Christian Biere. | |||
2006-11-26 | try first mmap() allocation at pagesize, no need to re-mmap at every power | Theo de Raadt | |
of 2 from 16 to pagesize(); ok otto | |||
2006-10-30 | suceed -> succeed; from chad dougherty | Jason McIntyre | |
2006-10-29 | make __dtoa & strtod() thread-safe useing the same method as newer gdtoa | Theo de Raadt | |
codebase. tested mostly by ckuethe and myself. __dtoa() use now requires a call to __freedtoa() | |||
2006-10-15 | mark up `>'; | Jason McIntyre | |
2006-10-14 | Add a CAVEAT section that describes how to properly trim a newline from | Chad Loder | |
a string, being careful to deal with 0-length strings. Help and input from jmc, ok deraadt | |||
2006-10-14 | Make fgets description much clearer with respect to its exact behavior. | Chad Loder | |
OK and input from deraadt, jmc, millert. | |||
2006-04-29 | check mmap for failure. the helper functions using it return -1, but | Ted Unangst | |
callers do not yet check since printf() for example is not documented to return an error. some formatting cleanups. mostly ok deraadt millert | |||
2006-03-19 | Remove extraneous cast to malloc call in fgetln example. | Ray Lai | |
OK otto@ | |||
2006-01-13 | Pull in inttypes.h, not stdint.h so we get the prototypes for | Todd C. Miller | |
strtoimax/strtoumax. | |||
2006-01-13 | Use long long and intmax_t instead of quad_t throughout. Adapted in | Todd C. Miller | |
part from FreeBSD. | |||
2006-01-08 | Fix the handling of negative hexadecimal numbers in integer formats. | Todd C. Miller | |
From NetBSD. | |||
2006-01-07 | improve the RETURN VALUES section; | Jason McIntyre | |
for such a small diff, this one was hard work... based on a diff from ray lai; blood, sweat, and tears (and ok) kettenis | |||
2006-01-06 | Adapt things to use __type_t instead of _BSD_TYPE_T_ | Todd C. Miller | |
Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable | |||
2006-01-06 | fix the mkstemps .Fn; | Jason McIntyre | |
2006-01-06 | in code fragment: | Jason McIntyre | |
- allocate enough space for sfn. - remove variable initializations that get overwritten anyway. - change spaces to tabs. - change "sizeof sfn" to "sizeof(sfn)". - change fprintf(stderr) to warn(). from ray lai; ok millert | |||
2006-01-03 | Do not overlap flags; problem introduced when new escapes were added. | Todd C. Miller | |
2005-12-28 | Remove useless if() introduced by accident in rev 1.3. Checking the | Todd C. Miller | |
flag for sprintf-ness is not useful in a code path that is not called for sprintf and friends. | |||
2005-12-19 | Missing piece from previous commit | Todd C. Miller | |