view modules/setenv @ 17935:0ad1f4c9eed5 default tip

tests: support stderr verification with returns_() * tests/init.sh (returns_): Disable tracing for this wrapper function, so that stderr of the wrapped command is unchanged, allowing for verification of the contents.
author Pádraig Brady <P@draigBrady.com>
date Mon, 16 Feb 2015 17:20:39 +0000
parents 1f14c6dd175d
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:
all