From f40473668438eaba88eced8d4e78db1225e90542 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 17 Feb 2004 05:16:49 +0000 Subject: [BZ #18] Update. * nscd/nscd_conf.c (nscd_parse_file): Little optimization. 2004-02-14 Thorsten Kukuk * nscd/dbg_log.c (set_logfile): Only save name of logfile, don't open it. (init_logfile): New function, open logfile if requested. * nscd/dbg_log.h: Adjust protoype for set_logfile, add init_logfile. * nscd/nscd.c (main): Call init_logfile after forking in background. * nscd/nscd_conf.c (nscd_parse_file): Adjust for new set_logfile. 2004-02-16 Ulrich Drepper ld.so.preload is not present [BZ #18]. --- nscd/dbg_log.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'nscd/dbg_log.h') diff --git a/nscd/dbg_log.h b/nscd/dbg_log.h index 705aa022ac..6cec54cae9 100644 --- a/nscd/dbg_log.h +++ b/nscd/dbg_log.h @@ -1,4 +1,4 @@ -/* Copyright (c) 1998, 2000 Free Software Foundation, Inc. +/* Copyright (c) 1998, 2000, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Thorsten Kukuk , 1998. @@ -25,6 +25,7 @@ extern int debug_level; extern void dbg_log (const char *str, ...) __attribute__ ((__format__ (__printf__, 1, 2)));; -extern int set_logfile (const char *logfile); +extern void set_logfile (const char *logfile); +extern int init_logfile (void); #endif -- cgit v1.2.3