diff options
author | Jeremy Allison <jra@samba.org> | 2002-07-18 23:28:47 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-07-18 23:28:47 +0000 |
commit | 07716f3a2316fedfe9a3210fd1dad8f7d1e4d9c8 (patch) | |
tree | 0bddd0fb1935a9183bd9a010692f9f36c13de50a /source/lib/util.c | |
parent | ae924493754220b8ad9e9767eb25f0f53a23327d (diff) | |
download | samba-07716f3a2316fedfe9a3210fd1dad8f7d1e4d9c8.tar.gz samba-07716f3a2316fedfe9a3210fd1dad8f7d1e4d9c8.tar.xz samba-07716f3a2316fedfe9a3210fd1dad8f7d1e4d9c8.zip |
Add useful VALGRIND #ifdef.
Jeremy.
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 be108aa4056..51c926dd0b8 100644 --- a/source/lib/util.c +++ b/source/lib/util.c @@ -505,6 +505,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); @@ -525,6 +526,7 @@ void close_low_fds(void) return; } } +#endif } /**************************************************************************** |