Import setenv and unsetenv from gnulib
authorAnton Kolesov <Anton.Kolesov@synopsys.com>
Mon, 3 Jul 2017 16:17:29 +0000 (19:17 +0300)
committerAnton Kolesov <Anton.Kolesov@synopsys.com>
Mon, 10 Jul 2017 10:23:12 +0000 (13:23 +0300)
commit3d99e817a90b2a37860d527f2fb5643e7b861e7d
tree92039d165cbf8eb251f217161f2f956aa90ff8df
parenta074796714dcf281f5305540e3c5293d94f653f8
Import setenv and unsetenv from gnulib

This patch supersedes
https://sourceware.org/ml/gdb-patches/2017-07/msg00009.html

---

Patch [1] broke a build on MinGW hosts, because MinGW doesn't provide POSIX
functions setenv () and unsetenv ().  This can be fixed by using
implementations from gnulib.

[1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=9a6c7d9c0

gdb/ChangeLog
yyyy-mm-dd  Anton Kolesov  <Anton.Kolesov@synopsys.com>

* gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add setenv and
unsetenv.
* gnulib/aclocal.m4: Regenerate.
* gnulib/config.in: Regenerate.
* gnulib/configure: Regenerate.
* gnulib/import/Makefile.am: Regenerate.
* gnulib/import/Makefile.in: Regenerate.
* gnulib/import/m4/gnulib-cache.m4: Regenerate.
* gnulib/import/m4/gnulib-comp.m4: Regenerate.
* gnulib/import/m4/environ.m4: New file.
* gnulib/import/m4/setenv.m4: New file.
* gnulib/import/setenv.c: New file.
* gnulib/import/unsetenv.c: New file.
12 files changed:
gdb/gnulib/aclocal.m4
gdb/gnulib/config.in
gdb/gnulib/configure
gdb/gnulib/import/Makefile.am
gdb/gnulib/import/Makefile.in
gdb/gnulib/import/m4/environ.m4 [new file with mode: 0644]
gdb/gnulib/import/m4/gnulib-cache.m4
gdb/gnulib/import/m4/gnulib-comp.m4
gdb/gnulib/import/m4/setenv.m4 [new file with mode: 0644]
gdb/gnulib/import/setenv.c [new file with mode: 0644]
gdb/gnulib/import/unsetenv.c [new file with mode: 0644]
gdb/gnulib/update-gnulib.sh
This page took 0.026443 seconds and 4 git commands to generate.