diff options
Diffstat (limited to 'source/lib/util.c')
-rw-r--r-- | source/lib/util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/lib/util.c b/source/lib/util.c index b017e75dca2..b6266cb9257 100644 --- a/source/lib/util.c +++ b/source/lib/util.c @@ -454,6 +454,7 @@ close the low 3 fd's and open dev/null in their place ********************************************************************/ void close_low_fds(void) { +#ifndef VALGRIND int fd; int i; close(0); close(1); @@ -474,6 +475,7 @@ void close_low_fds(void) return; } } +#endif } /**************************************************************************** |