aboutsummaryrefslogtreecommitdiff
path: root/libiberty/setenv.c
AgeCommit message (Collapse)AuthorFilesLines
2017-01-05Sync libiberty from gccAlan Modra1-2/+1
Picks up copyright year update and other recent fixes.
2015-11-28Fix PR63758 by using the _NSGetEnviron() API on DarwinIain Sandoe1-7/+3
include/ Roland McGrath <roland@gnu.org> PR other/63758 * environ.h: New file. libiberty/ Roland McGrath <roland@gnu.org> Iain Sandoe <iain@codesourcery.com> PR other/63758 * pex-unix.c: Obtain the environment interface from settings in environ.h rather than in-line code. Update copyright date. * setenv.c: Likewise. * xmalloc.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228942 138bc75d-0d04-0410-961f-82ee72b054a4
2015-04-22libiberty/setenv.c: Do not declare environ if defined as a macro.Joel Brobecker1-0/+2
Otherwise, it causes a build warning on some platforms such as MinGW. libiberty/ChangeLog (Eli Zaretskii <eliz@gnu.org>): * setenv.c <environ>: Declare only if not a macro.
2013-03-17merge from gccDJ Delorie1-3/+0
2013-03-17Fix compilation warning by MinGW GCC.Eli Zaretskii1-0/+3
setenv.c [!HAVE_ENVIRON_DECL]: Avoid declaring environ if it is a macro, as this causes compiler warnings with MinGW.
2011-02-03libiberty: documentation markup and order fixes.Ralf Wildenhues1-2/+4
libiberty/: * splay-tree.c: Escape wrapping newlines in texinfo markup with '@', to fix function declaration output rendering. * gather-docs: Relax and improve macro name matching to actually match all current names and to allow input line wrapping. * bsearch.c, concat.c, crc32.c, fnmatch.txh, fopen_unlocked.c, hashtab.c, insque.c, make-relative-prefix.c, memchr.c, memcmp.c, memcpy.c, memmem.c, memmove.c, mempcpy.c, memset.c, pexecute.txh, random.c, setenv.c, setproctitle.c, simple-object.txh, snprintf.c, stpncpy.c, strncmp.c, strtod.c, strtol.c, vasprintf.c, vprintf.c, vsnprintf.c, xmemdup.c: Wrap long texinfo input lines. * functions.texi: Regenerate.
2005-05-24merge from gccDJ Delorie1-4/+4
2005-05-10Update the address and phone number of the FSF organization.Nick Clifton1-2/+2
2005-03-28merge from gccDJ Delorie1-6/+2
2002-01-22merge from gccDJ Delorie1-1/+7
2001-10-10merge from gccDJ Delorie1-1/+1
2001-09-26merge from gccDJ Delorie1-0/+16
2000-10-12merge from gcc repositoryDJ Delorie1-1/+1
2000-06-15Synced with libiberty in the gcc repository.H.J. Lu1-5/+7
2000-02-22import libiberty from egcsIan Lance Taylor1-0/+163