summaryrefslogtreecommitdiff
path: root/lib/libc/gen/setmode.c
AgeCommit message (Expand)Author
2014-10-11obvious reallocarray() useTheo de Raadt
2013-11-24most obvious unsigned char casts for ctypeTheo de Raadt
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2006-03-12Cleanup to avoid a save errno dance; from Andrey Matveev; ok pat@Otto Moerbeek
2005-10-26Always set errno on error. Based on NetBSD. ok jaredy@ pat@Otto Moerbeek
2005-08-08zap remaining rcsid.Marc Espie
2005-03-01Set errno right before return(), so that it does not risk being resetMiod Vallat
2004-07-02deregister, better use of strtoul and always set ERANGE on invalid octalOtto Moerbeek
2004-07-01Initialize cmd when processing octal only. Failing to do that resultsOtto Moerbeek
2004-05-18ansify function definitions and zap some `register'Jean-Francois Brousseau
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
1998-11-18negative change strtol()Theo de Raadt
1998-08-14realloc repairTheo de Raadt
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-07-23tabifykstailey
1997-03-07From NetBSD (christos) [fixed typo introduced in comment]:Todd C. Miller
1996-08-19Fix RCS idsThorsten Lockert
1996-04-21sync to netbsd 960418Theo de Raadt
1996-03-25Prototype internal functionsThorsten Lockert
1995-10-18initial import of NetBSD treeTheo de Raadt