From 41b3a8ed8b2480ca12baaa6c692a7fba3ebd53cf Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Wed, 4 Nov 2009 14:02:20 -0700 Subject: mktemp: don't leave file behind on write failure * src/mktemp.c (main): Remove just-created file if stdout had problems. * bootstrap.conf (gnulib_modules): Add remove. * tests/misc/close-stdout: Test it. * NEWS: Document it. --- bootstrap.conf | 1 + 1 file changed, 1 insertion(+) (limited to 'bootstrap.conf') diff --git a/bootstrap.conf b/bootstrap.conf index 79605460e..b3a82e0ce 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -180,6 +180,7 @@ gnulib_modules=" readutmp realloc regex + remove rename rmdir root-dev-ino -- cgit v1.2.3-54-g00ecf