summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/setmode.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* obvious reallocarray() usederaadt2014-10-111-2/+2
| | | | ok doug
* most obvious unsigned char casts for ctypederaadt2013-11-241-2/+2
| | | | ok jca krw ingo
* use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt2007-09-021-2/+2
|
* Cleanup to avoid a save errno dance; from Andrey Matveev; ok pat@otto2006-03-121-12/+9
| | | | jaredy@ ray@
* Always set errno on error. Based on NetBSD. ok jaredy@ pat@otto2005-10-261-12/+17
|
* zap remaining rcsid.espie2005-08-081-9/+1
| | | | | | Kill old files that are no longer compiled. okay theo
* Set errno right before return(), so that it does not risk being resetmiod2005-03-011-3/+3
| | | | | | by any other functions we will invoke in-between. Fix from Andrey Matveev <andrushock@korovino.net>
* deregister, better use of strtoul and always set ERANGE on invalid octalotto2004-07-021-21/+16
| | | | permission. ok millert@; man page ok jmc@
* Initialize cmd when processing octal only. Failing to do that resultsotto2004-07-011-2/+3
| | | | | | | in rare cases of bogus permissions; noted when using mtree(8) with mmap malloc. ok tdeval@ millert@
* ansify function definitions and zap some `register'jfb2004-05-181-13/+6
| | | | ok millert@
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert2002-02-191-8/+2
|
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-5/+5
|
* negative change strtol()deraadt1998-11-181-4/+6
|
* realloc repairderaadt1998-08-141-3/+7
|
* #if __STDC__ --> #ifdef __STDC__mickey1997-07-251-3/+3
|
* tabifykstailey1997-07-231-4/+4
|
* From NetBSD (christos) [fixed typo introduced in comment]:millert1997-03-071-8/+21
| | | | | If ``who'' was not specified, set the appropriate bits as the manual page states. ``chmod +s foo'' and ``chmod +t dir'' now work.
* Fix RCS idstholo1996-08-191-8/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* sync to netbsd 960418deraadt1996-04-211-2/+3
|
* Prototype internal functionstholo1996-03-251-5/+10
| | | | Do the right thing in presense of __STDC__
* initial import of NetBSD treederaadt1995-10-181-0/+458