| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
or prototypes. Ditto for some of the char* and void* casts too.
verified no change to instructions on ILP32 (i386) and LP64 (amd64)
ok natano@ abluhm@ deraadt@ millert@
|
|
|
|
|
|
|
|
|
|
|
|
| |
wrapper .h files and asm labels to let internal calls resolve directly and
not be overridable or use the PLT. Then, apply that framework to most of
the functions in stdio.h, string.h, err.h, and wchar.h. Delete the
should-have-been-hidden-all-along _v?(err|warn)[cx]? symbols while here.
tests clean on i386, amd64, sparc64, powerpc, and mips64
naming feedback from kettenis@ and millert@
ok kettenis@
|
| |
|
|
|
|
| |
silence some warnings.
|
|
|
|
|
|
| |
Based on code from FreeBSD.
Tested by myself (full release/install cycle on i386 and sparc64) and ajacoutot.
Man page help from jmc.
|
|
|
|
|
|
| |
sscanf()/vsscanf() where locking is unnecessary.
ok millert@
|
| |
|
|
|
|
| |
loss.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
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@
|
|
|
|
| |
ok millert@
|
|
|
|
| |
strtoimax/strtoumax.
|
|
|
|
| |
part from FreeBSD.
|
|
|
|
| |
From NetBSD.
|
|
|
|
|
| |
Add new sys/_types.h header
Include machine/_types.h or sys/_types.h where applicable
|
| |
|
|
|
|
|
| |
sent out and approved about 6 months ago and has been rotting in
my tree ever since.
|
|
|
|
|
|
| |
Kill old files that are no longer compiled.
okay theo
|
|
|
|
|
| |
reviewed by millert, otto, kevlo, naddy, kettenis...
libc+libstdc++ bump
|
| |
|
|
|
|
|
|
|
|
| |
is feasible.
Okay millert@
There's a major libc bump coming that is going to cover this as well...
|
|
|
|
|
|
| |
char const * -> const char *
ok otto@ deraadt@
|
| |
|
|
|
|
| |
rescinded 22 July 1999. Proofed by myself and Theo.
|
| |
|
| |
|
| |
|
|
|
|
| |
a cleaner way to do this.
|
| |
|
|
|
|
|
|
| |
Remove unused variables
Silence some warnings
lint(1) is your friend
|
|
|
|
| |
Make sure everything uses {SYS,}LIBC_SCCS properly
|
|
|