From 57bf8f040067272b6eb74f47b92278b55c5e0956 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 15 Jun 2007 08:51:26 +0000 Subject: fixed a bug that caused compilation on debian to fail --- syslogd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/syslogd.c b/syslogd.c index f42c16b3..ad9649e0 100644 --- a/syslogd.c +++ b/syslogd.c @@ -7734,12 +7734,15 @@ void dprintf(char *fmt, ...) return; # ifdef USE_PTHREADS - /* TODO: The bWasNL handler does not really work. It works if no thread + /* The bWasNL handler does not really work. It works if no thread * switching occurs during non-NL messages. Else, things are messed * up. Anyhow, it works well enough to provide useful help during * getting this up and running. It is questionable if the extra effort * is worth fixing it, giving the limited appliability. * rgerhards, 2005-10-25 + * I have decided that it is not worth fixing it - especially as it works + * pretty well. + * rgerhards, 2007-06-15 */ if(bWasNL) { fprintf(stdout, "%8.8d: ", (unsigned int) pthread_self()); -- cgit