Fix bug 5805: don't close stdout
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>
Thu, 2 Oct 2008 13:17:49 +0000 (09:17 -0400)
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>
Thu, 2 Oct 2008 13:18:27 +0000 (09:18 -0400)
commit7142872d2c6e0be42307671afa31016f6940007d
treed8503f2d67e96c109aa8caddc9b45ff4277cf01b
parentd596f78517f33f5a4c4849be3162d4f3031f045f
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
source/lib/debug.c