From 17d5d660b5853e64ea0225ce107ed619b2aeb064 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 22 Jun 2001 19:46:38 +0000 Subject: Fix for race condition found by Herb where we can end up with a NULL dbf. Jeremy. (This used to be commit 5cbb2106735ad0533198a83d62541cabd7beed20) --- source3/lib/debug.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'source3/lib/debug.c') diff --git a/source3/lib/debug.c b/source3/lib/debug.c index bd8babf827..06092c6a35 100644 --- a/source3/lib/debug.c +++ b/source3/lib/debug.c @@ -343,14 +343,6 @@ BOOL reopen_logs( void ) if (stdout_logging) return True; - if (DEBUGLEVEL_CLASS[ DBGC_ALL ] <= 0) { - if (dbf) { - (void)fclose(dbf); - dbf = NULL; - } - return True; - } - oldumask = umask( 022 ); pstrcpy(fname, debugf ); -- cgit