| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
ok mpi@
|
| |
|
|
|
|
|
| |
* XXX. Force immediate allocation of internal memory. Not used by stdio,
* but documented historically for certain applications. Bad applications.
|
|
|
|
|
|
|
|
|
| |
them ftime(), gtty(), stty(), re_comp(), cuserid() and others.
Discussion and ongoing work to fix the ports tree from many, especially
naddy.
ok naddy
[There is a bit more cleanup possible after that, but this is considered
the current safe step]
|
| |
|
| |
|
| |
|
|
|
|
| |
not cranking libc over this (unless an issue is found in ports)
|
|
|
|
| |
ok deraadt@
|
|
|
|
| |
MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@
|
| |
|
|
|
|
|
| |
facts checked by sobrado@
style tweaks and ok jmc@
|
|
|
|
| |
man4 still to go...
|
| |
|
|
|
|
| |
silence some warnings.
|
|
|
|
|
|
| |
Check it in the regress test
ok mpi@
|
|
|
|
|
|
|
|
| |
listed, the #includes in each group are independent, so that users
don't need to guess at possible carry-over.
general idea ok otto@ millert@
actual diff ok jmc@ schwarze@
|
|
|
|
| |
commiting on behalf of mpi@
|
| |
|
|
|
|
|
|
| |
fmemopen(3) and open_memstream(3).
With inputs from millert@, stsp@, guenther@, tedu@ and matthew@
|
|
|
|
| |
ok deraadt@ millert@
|
| |
|
|
|
|
| |
ok guenther@
|
|
|
|
| |
ok deraadt@ kettenis@ millert@
|
|
|
|
| |
ok millert@
|
|
|
|
|
| |
Feedback from millert@ guenther@
OK guenther@ man page bits OK jmc@
|
| |
|
|
|
|
|
|
|
|
| |
open_memstream(3) so they can be polished in-tree.
One of the manpages comes from NetBSD with some tweaks.
Prodded by espie@, krw@, guenther@
|
|
|
|
| |
ok guenther millert kettenis
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
printf() and avoid calling it unless needed (i.e., when we have a
floating point value to print). This isn't a big concern currently
due to our limited locale support and current localeconv()
implementation, but it's still technically a data race and
implementing POSIX 2008 per-thread locales is likely to make it worse.
nl_langinfo() isn't guaranteed by POSIX to be thread-safe either, but
at least our current implementation is thread-safe and it's a simpler
interface to keep that way. Printing floating point values isn't
async-signal-safe anyway due to gdtoa()'s use of malloc(), so that's
not an issue.
ok deraadt, stsp, millert
|
|
|
|
|
|
|
| |
and valloc() are not in the current version, while posix_memalign() mkstemp(),
and mkdtemp() are, and setstate()'s argument has lost a bogus 'const'.
ok millert@ jmc@ espie@ kettenis@; ports build testing by naddy@
|
|
|
|
|
| |
on non-UNIX systems: it's a complex type on Linux, and to be C99
compliant we'll probably need it to be a complex type too.
|
|
|
|
| |
Diff from Tim van der Molen.
|
|
|
|
|
|
|
| |
LONG_MAX. Also, remove an Alpha-specific optimization that only saves
a couple of bytes of code size.
ok millert, guenther
|
|
|
|
|
|
| |
from Jan Stary
ok fgsch
|
|
|
|
|
|
|
|
|
| |
Prompted in a mail to tech@ by Jan Klemkow (j-dot-klemkow-at-wemelug-dot-de)
but this is based on NetBSD's implementation instead with some tweaks by me.
Further improvements would happen in tree.
ok millert@; discussed with many others
ports cleanup by naddy@, sthen@. Antti Harri, Gonzalo L. R. and myself.
|
|
|
|
|
| |
access; information found in the 2bsd directory of the CSRG archive CDs.
feedback and ok jmc@
|
|
|
|
| |
ok stsp@
|
|
|
|
|
|
| |
Based on code from FreeBSD.
Tested by myself (full release/install cycle on i386 and sparc64) and ajacoutot.
Man page help from jmc.
|
|
|
|
|
|
| |
manuals; however, it turned out all of these actually predate 2BSD.
All information from http://minnie.tuhs.org/cgi-bin/utree.pl.
ok jmc@ sobrado@
|
|
|
|
|
|
| |
sscanf()/vsscanf() where locking is unnecessary.
ok millert@
|
|
|
|
|
| |
.Fd -> .In, .Li -> .Vt, and remove various other gratuitous differences.
feedback and ok stsp@, ok jmc@
|
|
|
|
|
| |
character support changes based on code from FreeBSD.
ok espie guenther; man page help from schwarze
|
| |
|