summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/findfp.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Prefer _MUTEX_*LOCK over _THREAD_PRIVATE_MUTEX_*LOCK() when thread-specificguenther2016-04-051-9/+9
| | | | | | data isn't necessary. ok mpi@, ok&tweak natano@
* Use static and __{BEGIN,ENV}_HIDDEN_DECLS to hide a bunch of internalguenther2015-08-271-2/+2
| | | | | | symbols that are not longer exported. (This improves the generated code.) ok deraadt@
* Move to the <limits.h> universe.deraadt2015-01-161-2/+2
| | | | review by millert, binary checking process with doug, concept with guenther
* abort() doesn't call atexit handlers any moreguenther2014-11-191-2/+2
|
* f_prealloc() goes away. Comment from the original source file:deraadt2013-12-171-24/+1
| | | | | * XXX. Force immediate allocation of internal memory. Not used by stdio, * but documented historically for certain applications. Bad applications.
* oops should not be staticderaadt2013-11-131-2/+2
|
* both files contain a function which should only be static.deraadt2013-11-121-2/+2
| | | | not cranking libc over this (unless an issue is found in ports)
* Fix the handle locking in stdio to use flockfile/funlockfilekurt2009-11-091-7/+29
| | | | | | | | | | | | | 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-29/+7
| | | | media to fit
* Fix the handle locking in stdio to use flockfile/funlockfileguenther2009-10-211-7/+29
| | | | | | | | | | | | 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
* zap getdtablesize() external ref (removes a bit of compat from instbin).espie2005-08-021-1/+3
| | | | okay millert@
* next citrus step.espie2005-06-171-4/+4
| | | | | reviewed by millert, otto, kevlo, naddy, kettenis... libc+libstdc++ bump
* Change internals of FILE: reuse the unget buffer field to access anespie2005-04-301-10/+28
| | | | | | | | | | | | | | | | extended attribute data structure (pimpl idiom). Idea taken from citrus. Much discussion with deraadt@, otto@, millert@... This is the least disruptive way to extend FILE, since its size can't really change without this being a flag day. So the size doesn't change. Actual additions to the structure will come in separate steps, since this change is nasty enough on its own. Tests by otto@ and others, careful reading of code by otto@ and millert@. This is definitely a major bump, and has been checked to not impact a full ports build.
* deregister + ansify, no change in object code. ok deraadt@ millert@otto2004-09-281-13/+12
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Move __cleanup into mprotect'ed page to prevent unintentional modificationsdhartmei2002-09-141-5/+6
| | | | similar to the atexit handlers. Idea and help deraadt@, ok deraadt@
* Fix RCS idstholo1996-08-191-6/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* initial import of NetBSD treederaadt1995-10-181-0/+171