summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/gets.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* c11 compliance: remove gets()tedu2014-03-231-59/+0
|
* Fix the handle locking in stdio to use flockfile/funlockfilekurt2009-11-091-4/+8
| | | | | | | | | | | | | 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.
* Back out previous commit, as it caused too much growth for the installguenther2009-10-221-8/+4
| | | | media to fit
* Fix the handle locking in stdio to use flockfile/funlockfileguenther2009-10-211-4/+8
| | | | | | | | | | | | 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@
* zap remaining rcsid.espie2005-08-081-4/+1
| | | | | | Kill old files that are no longer compiled. okay theo
* Use '\0' not 0 when storing as a char, part from Andrey Matveev.millert2005-05-281-2/+2
|
* deregister + ansify, no change in object code. ok deraadt@ millert@otto2004-09-281-5/+4
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* back out my last change to avoid the __warn_references on the mips - it'sgraichen1997-01-201-3/+1
| | | | now done for the pmax like for the arc in machine/cdefs.h
* put all the __warn_references behind a #ifndef NO_WARN_REFERENCES whichgraichen1997-01-191-1/+3
| | | | | is then set in the libc Makefile for the mips (the mips linker can't handle them)
* suggest alternative in ld warn messagederaadt1996-12-281-2/+3
|
* Fix RCS idstholo1996-08-191-6/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* initial import of NetBSD treederaadt1995-10-181-0/+67