summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/makebuf.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-2/+2
| | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
* Remove unnecessary calls to __atexit_register_cleanup(), calling __sinit()guenther2015-01-131-2/+1
| | | | | | | instead where necessary. Based on a diff from enh (at) google.com ok millert@
* Remove useless if() introduced by accident in rev 1.3. Checking themillert2005-12-281-5/+3
| | | | | flag for sprintf-ness is not useful in a code path that is not called for sprintf and friends.
* zap remaining rcsid.espie2005-08-081-4/+1
| | | | | | Kill old files that are no longer compiled. okay theo
* deregister + ansify, no change in object code. ok deraadt@ millert@otto2004-09-281-9/+5
|
* 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-2/+2
| | | | similar to the atexit handlers. Idea and help deraadt@, ok deraadt@
* Changes from NetBSD:millert1998-11-251-5/+7
| | | | | o Use S_ISCHR instead of doing it by hand o st_blksize cannot be negative (christos)
* Fix RCS idstholo1996-08-191-6/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* initial import of NetBSD treederaadt1995-10-181-0/+123