git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9368b1
)
It seems that I'm meant to be using the helper function here, not the struct
author
Andrew Bartlett
<abartlet@samba.org>
Fri, 18 Oct 2002 22:27:55 +0000
(22:27 +0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Fri, 18 Oct 2002 22:27:55 +0000
(22:27 +0000)
directly...
Andrew Bartlett
(This used to be commit
0abeb8725e8ea53a468d6004457bb7fa89a0f8b2
)
source3/lib/debug.c
patch
|
blob
|
history
diff --git
a/source3/lib/debug.c
b/source3/lib/debug.c
index f4f3ee2f9f94c9ac7f28d6b7385286d0a42f58ce..483db71b852424dbfff9d058aa93c22cd3788260 100644
(file)
--- a/
source3/lib/debug.c
+++ b/
source3/lib/debug.c
@@
-603,7
+603,7
@@
BOOL reopen_logs( void )
(void)umask(oldumask);
/* Take over stderr to catch ouput into logs */
- if (dbf && sys_dup2(
dbf->fd
, 2) == -1) {
+ if (dbf && sys_dup2(
x_fileno(dbf)
, 2) == -1) {
close_low_fds(True); /* Close stderr too, if dup2 can't point it
at the logfile */
}