view modules/setenv @ 17305:0e5a583a2a8d

regex: test for buffer overrun * m4/regex.m4 (gl_REGEX): Add test case, by Andreas Schwab, for the just-fixed regex bug.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 29 Jan 2013 22:34:58 -0800
parents 9a04eac49081
children
line wrap: on
line source

Description:
setenv() function: set an environment variable.

Files:
lib/setenv.c
m4/setenv.m4

Depends-on:
stdlib
malloca         [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1]
alloca-opt      [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1]
unistd          [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1]
environ         [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1]

configure.ac:
gl_FUNC_SETENV
if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then
  AC_LIBOBJ([setenv])
fi
gl_STDLIB_MODULE_INDICATOR([setenv])

Makefile.am:

Include:
<stdlib.h>

License:
LGPLv2+

Maintainer:
Bruno Haible