Fix bug 5805: don't close stdout
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>
Thu, 2 Oct 2008 13:03:32 +0000 (09:03 -0400)
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>
Thu, 2 Oct 2008 13:03:32 +0000 (09:03 -0400)
commitf0c17496366547f14638763a6b8859c365f18792
treedb97d0de247e3f1fef196aee693b5a53792b32ae
parent3c9f3c32d1290b8e6c438a197602afe3e96ae828
Fix bug 5805: don't close stdout

- When calling setup_logging multiple times, the code was closing the debug
  file descriptor before opening or assigning the new one.  We don't, however,
  want to close the debug file descriptor if it is stdout.

Derrell
source3/lib/debug.c