view modules/chdir-safer @ 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 16f47458947e
children
line wrap: on
line source

Description:
like chdir, but safer

Files:
lib/chdir-safer.h
lib/chdir-safer.c
m4/chdir-safer.m4

Depends-on:
errno
fchdir
fcntl-h
fstat
open
same-inode
stdbool

configure.ac:
gl_CHDIR_SAFER

Makefile.am:
lib_SOURCES += chdir-safer.c

Include:
"chdir-safer.h"

License:
GPL

Maintainer:
Jim Meyering