summaryrefslogtreecommitdiff
path: root/src/env/putenv.c
AgeCommit message (Collapse)AuthorFilesLines
2016-03-06env: avoid leaving dangling pointers in __env_mapAlexander Monakov1-0/+1
This is the minimal fix for __putenv leaving a pointer to freed heap storage in __env_map array, which could later on lead to errors such as double-free.
2013-12-12include cleanups: remove unused headers and add feature test macrosSzabolcs Nagy1-2/+0
2012-10-21as an extension, have putenv("VAR") behave as unsetenv("VAR")Rich Felker1-5/+5
the behavior of putenv is left undefined if the argument does not contain an equal sign, but traditional implementations behave this way and gnulib replaces putenv if it doesn't do this.
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker1-0/+59