summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/setmode.c
AgeCommit message (Expand)AuthorFilesLines
2014-10-11obvious reallocarray() usederaadt1-2/+2
2013-11-24most obvious unsigned char casts for ctypederaadt1-2/+2
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt1-2/+2
2006-03-12Cleanup to avoid a save errno dance; from Andrey Matveev; ok pat@otto1-12/+9
2005-10-26Always set errno on error. Based on NetBSD. ok jaredy@ pat@otto1-12/+17
2005-08-08zap remaining rcsid.espie1-9/+1
2005-03-01Set errno right before return(), so that it does not risk being resetmiod1-3/+3
2004-07-02deregister, better use of strtoul and always set ERANGE on invalid octalotto1-21/+16
2004-07-01Initialize cmd when processing octal only. Failing to do that resultsotto1-2/+3
2004-05-18ansify function definitions and zap some `register'jfb1-13/+6
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert1-7/+3
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert1-8/+2
2002-02-16Part 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.millert1-5/+5
1998-11-18negative change strtol()deraadt1-4/+6
1998-08-14realloc repairderaadt1-3/+7
1997-07-25#if __STDC__ --> #ifdef __STDC__mickey1-3/+3
1997-07-23tabifykstailey1-4/+4
1997-03-07From NetBSD (christos) [fixed typo introduced in comment]:millert1-8/+21
1996-08-19Fix RCS idstholo1-8/+1
1996-04-21sync to netbsd 960418deraadt1-2/+3
1996-03-25Prototype internal functionstholo1-5/+10
1995-10-18initial import of NetBSD treederaadt1-0/+458