From b8cdfac353ad96d4ef025c066c16dbde34805661 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 11 Nov 2014 15:14:31 +0100 Subject: Remove use of gnulib (part 2) * configure.ac (strpbrk): Add to AC_CHECK_FUNCS. (gl_EARLY): Remove. * common/stringhelp.c (strpbrk) [!HAVE_STRPBRK]: New. * common/sysutils.c (gnupg_mkdtemp): New. Based on code from glibc-2.6. (gnupg_setenv): Rewrite. (gnupg_unsetenv): Rewrite. * g10/exec.c: Include sysutils.h and replace mkdtemp by gnupg_mkdtemp. * g13/be-encfs.c: Ditto. * g13/mount.c: Ditto. * tools/symcryptrun.c (confucius_mktmpdir): Ditto. Signed-off-by: Werner Koch --- common/t-sysutils.c | 1 + 1 file changed, 1 insertion(+) (limited to 'common/t-sysutils.c') diff --git a/common/t-sysutils.c b/common/t-sysutils.c index d13bdfe41..68c3e418d 100644 --- a/common/t-sysutils.c +++ b/common/t-sysutils.c @@ -83,6 +83,7 @@ main (int argc, char **argv) verbose = 1; test_gnupg_tmpfile (); + /* Fixme: Add tests for setenv and unsetenv. */ return !!errcount; } -- cgit v1.2.3