summaryrefslogtreecommitdiff
path: root/nscd/dbg_log.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-07-24 12:58:36 +0000
committerUlrich Drepper <drepper@redhat.com>1998-07-24 12:58:36 +0000
commit6c202c68704b50016c4faba8d6445ab542b5f301 (patch)
treefb98ab84aee572c36755b83133187d96ab934164 /nscd/dbg_log.c
parentcc60175e8cecbedb4c555379c3c667c9cf9420fa (diff)
Update.
1998-07-24 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/glob.c (glob): Fix problems with handle tilde. Reported by Brian Wellington <bwelling@anomaly.munge.com>. * elf/elf.h: Really define Elf64_Verdef, Elf64_Verdaux, Elf64_Verneed, and Elf64_Vernaux. 1998-07-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> * configure.in: Recognize pgcc as compiler. Reported by sauron@angband.ee.ualberta.ca. 1998-07-02 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> * nscd/dbg_log.c: Make sure, that debug message is really written. * nscd/nscd.c: Don't use daemon(), set signal handler after fork. SVID more for gamma(x) with x integer <= 0.
Diffstat (limited to 'nscd/dbg_log.c')
-rw-r--r--nscd/dbg_log.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/nscd/dbg_log.c b/nscd/dbg_log.c
index 37065e446e..b2b8b3e31c 100644
--- a/nscd/dbg_log.c
+++ b/nscd/dbg_log.c
@@ -51,7 +51,10 @@ dbg_log (const char *fmt,...)
{
snprintf (msg, sizeof (msg), "%d: %s\n", getpid (), msg2);
if (dbgout)
- fputs (msg, dbgout);
+ {
+ fputs (msg, dbgout);
+ fflush (dbgout);
+ }
else
fputs (msg, stderr);
}