mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-14 14:01:48 +03:00
Problem reported by Michael Goffioul in <http://lists.gnu.org/archive/html/bug-gnulib/2013-02/msg00061.html>. * lib/putenv.c (putenv) [HAVE__PUTENV]: Rely on _putenv to allocate the new environment. * m4/putenv.m4 (gl_PREREQ_PUTENV): New macro. * modules/putenv (configure.ac): Use it.
31 lines
439 B
Plaintext
31 lines
439 B
Plaintext
Description:
|
|
putenv() function: change or add an environment variable.
|
|
|
|
Files:
|
|
lib/putenv.c
|
|
m4/putenv.m4
|
|
|
|
Depends-on:
|
|
stdlib
|
|
environ [test $REPLACE_PUTENV = 1]
|
|
malloc-posix [test $REPLACE_PUTENV = 1]
|
|
|
|
configure.ac:
|
|
gl_FUNC_PUTENV
|
|
if test $REPLACE_PUTENV = 1; then
|
|
AC_LIBOBJ([putenv])
|
|
gl_PREREQ_PUTENV
|
|
fi
|
|
gl_STDLIB_MODULE_INDICATOR([putenv])
|
|
|
|
Makefile.am:
|
|
|
|
Include:
|
|
<stdlib.h>
|
|
|
|
License:
|
|
LGPL
|
|
|
|
Maintainer:
|
|
Jim Meyering, glibc
|