summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/setenv.c
AgeCommit message (Expand)Author
2016-09-21Delete casts to off_t and size_t that are implied by assignmentsPhilip Guenther
2016-04-25Allow setenv(3) and putenv(3) to operate on a NULL environ pointer.Todd C. Miller
2016-03-13environ and __progname are not declared in a public header; declare themPhilip Guenther
2015-09-13Wrap <stdlib.h> so that calls go direct and the symbols not in thePhilip Guenther
2014-10-08using reallocarray() gives us multiplicative integer overflow checkingTheo de Raadt
2012-09-23Make setenv(3) consistent with unsetenv(3), giving EINVAL if passedJeremy Evans
2010-08-23Check for duplicate variables in the environment when setting a valueTodd C. Miller
2010-06-29Make unsetenv(NULL) and unsetenv("") give EINVAL, per POSIX. ok deraadt@Christian Weisgerber
2009-06-04Don't assume that we can overwrite strings in the environment.Todd C. Miller
2009-06-03Make putenv(), setenv() and unsetenv() standards compliant. TheTodd C. Miller
2005-08-08zap remaining rcsid.Marc Espie
2005-03-30ansi + de-registerPatrick Latifi
2005-02-16Stash the environment pointer we get from realloc() instead of justTodd C. Miller
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-12-10use proper __findenv() prototype; millert@ okMichael Shalayeff
2001-07-09a first pass at -WallTheo de Raadt
1998-02-02Don't override environ if realloc() fails. Pointed out byTodd C. Miller
1996-08-19Fix RCS idsThorsten Lockert
1995-10-18initial import of NetBSD treeTheo de Raadt