summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/setenv.c
AgeCommit message (Expand)AuthorFilesLines
2016-09-21Delete casts to off_t and size_t that are implied by assignmentsguenther1-2/+2
2016-04-25Allow setenv(3) and putenv(3) to operate on a NULL environ pointer.millert1-11/+15
2016-03-13environ and __progname are not declared in a public header; declare themguenther1-2/+1
2015-09-13Wrap <stdlib.h> so that calls go direct and the symbols not in theguenther1-3/+4
2014-10-08using reallocarray() gives us multiplicative integer overflow checkingderaadt1-3/+3
2012-09-23Make setenv(3) consistent with unsetenv(3), giving EINVAL if passedjeremy1-3/+5
2010-08-23Check for duplicate variables in the environment when setting a valuemillert1-7/+19
2010-06-29Make unsetenv(NULL) and unsetenv("") give EINVAL, per POSIX. ok deraadt@naddy1-1/+5
2009-06-04Don't assume that we can overwrite strings in the environment.millert1-1/+3
2009-06-03Make putenv(), setenv() and unsetenv() standards compliant. Themillert1-11/+68
2005-08-08zap remaining rcsid.espie1-4/+1
2005-03-30ansi + de-registerpat1-7/+3
2005-02-16Stash the environment pointer we get from realloc() instead of justmillert1-32/+24
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert1-6/+2
2002-12-10use proper __findenv() prototype; millert@ okmickey1-2/+3
2001-07-09a first pass at -Wallderaadt1-3/+4
1998-02-02Don't override environ if realloc() fails. Pointed out bymillert1-3/+4
1996-08-19Fix RCS idstholo1-2/+1
1995-10-18initial import of NetBSD treederaadt1-0/+120