| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
Based on our vfprintf etc. implementations. Wide character parts based on
NetBSD but with lots of macros expanded. Minor bump for libc.
ok kettenis espie
|
| |
|
|
|
|
| |
Add a warning about using less than 6 Xs causing an error on some systems
|
|
|
|
|
|
| |
trim an inaccurate comment about its future removal.
ok deraadt
|
|
|
|
|
|
| |
replacing the Xs, it is now purely random.
Also replace a use of .Fn that should be .Xr.
OK jmc@
|
| |
|
|
|
|
| |
Noted by Claus Assmann
|
|
|
|
|
|
|
|
|
| |
- wide character (noun)
- wide-character (adjective)
this is the "fix of least resistance", and appears to be in line with
posix style; a tiny fix still needed for curses, but i'll mail that
upstream;
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Document EINVAL and EEXIST.
* Neither mkstemp nor mkdtemp use lstat, but mktemp does.
* Documenting ENOTDIR is useless, it is documented in lstat(2), mkdir(2)
and open(2), and it's just one thing out of several that could go wrong.
* Refer to lstat(2) instead of stat(2), which is actually used here.
* State that two of these functions are standardized in the XPG.
* Move the sentence about mkdtemp and mkstemps to the new STANDARDS section.
* Get rid of the ugly ".So Li X Sc Ns s", just use "Xs" (suggested by jmc@).
tweaks and ok jmc@ millert@
|
|
|
|
|
|
| |
setting errno(2). Behaviour unchanged for mkstemp[s] and mkdtemp.
ok guenther deraadt
|
|
|
|
|
|
|
| |
entire template was Xs. Test suite written now to keep this from
happening again. Problem caught by Vadim Zhukov again.
ok millert@
|
|
|
|
|
|
|
| |
Also, remove a duplicate preconditions check.
Based on a suggestion by Vadim Zhukov (persgray <at> gmail.com)
ok millert@
|
|
|
|
|
| |
syntax errors found by mandoc(1), also required to fix the mandoc build;
feedback and ok jmc@ and sobrado@
|
| |
|
|
|
|
|
|
| |
to 'narrow' as they should.
"looks correct" millert@ "makes sense" blambert@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
internally when and where required. Macros in <stdio.h> are updated
to automatically call the underlying functions when the process is
threaded to obtain the necessary locking. A private mutex is added
to protect __sglue, the internal list of FILE handles, and another
to protect the one-time initialization. Some routines in libc that
use getc() change to use getc_unlocked() as they're either protected
by their own lock or aren't thread-safe routines anyway.
committing on behalf of and okay guenther@ now that we have install
media space available.
|
|
|
|
| |
ok deraadt
|
| |
|
|
|
|
| |
media to fit
|
|
|
|
|
|
|
|
|
|
|
|
| |
internally when and where required. Macros in <stdio.h> are updated
to automatically call the underlying functions when the process is
threaded to obtain the necessary locking. A private mutex is added
to protect __sglue, the internal list of FILE handles, and another
to protect the one-time initialization. Some routines in libc that
use getc() change to use getc_unlocked() as they're either protected
by their own lock or aren't thread-safe routines anyway.
ok kurt@, earlier version tested by sthen@ and jj@
|
|
|
|
|
|
| |
ecvt, fcvt, gcvt, *printf, strtof, strtod, strtold act per ieee
1003.1. after these massive changes, remove unused files which
would not work now. reported by Maksymilian Arciemowicz; ok theo
|
|
|
|
|
|
|
|
|
|
|
| |
Make the description of `b' a little better.
If you have a one-byte sequence, `w', `b' is the second
character. Not the third.
Submitted by: Christoph Mallon
checked by otto
|
|
|
|
| |
Adapted from FreeBSD. OK deraadt@
|
|
|
|
| |
OK millert otto
|
|
|
|
| |
ok millert@
|
|
|
|
| |
OK oga@ thib@
|
| |
|
|
|
|
|
|
|
| |
digits (in addition to letters) in the random file name. Instead
of looping forever, mktemp(3) will terminate when it has tried 2 *
N^62 times where N is the number of X's. This is effectively forever
for lots of X's.
|
|
|
|
|
| |
from Vadim Zhukov <persgray@gmail
ok millert
|
|
|
|
| |
ok millert
|
|
|
|
| |
ok jmc, millert
|
| |
|
|
|
|
| |
ok millert@
|
|
|
|
|
| |
when the argument is infinity/not-a-number
ok millert@, jmc@
|
|
|
|
| |
tweaks/ok millert@, jmc@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
| |
- make inf INF nan NAN comply to standards (eEfFgG)
- extend man page bits
ok millert@. w/ a man page tweak and ok jmc@
|
| |
|
|
|
|
| |
temporary file name with one that only uses random data. OK deraadt@
|
|
|
|
| |
element in the path does not exist. OK deraadt@ pvalchev@
|
| |
|
|
|
|
|
|
| |
- 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@
|
| |
|
|
|
|
|
| |
Replace the non-portable hackery in __find_arguments() with a union.
From FreeBSD.
|
| |
|
|
|
|
| |
ok espie@
|
|
|
|
| |
ok otto@ espie@ millert@
|
|
|
|
|
| |
upon a fd > SHRT_MAX. From freebsd via Jan Schaumann; ok deraadt@
millert@ espie@
|