summaryrefslogtreecommitdiff
path: root/nscd/dbg_log.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-02-17 05:16:49 +0000
committerUlrich Drepper <drepper@redhat.com>2004-02-17 05:16:49 +0000
commitf40473668438eaba88eced8d4e78db1225e90542 (patch)
treec8a55e212d39c880faba7fd1295ad9b4fdb0d6c3 /nscd/dbg_log.h
parentf04b9a68febb179fc90095ae4f9fb2b7ec68a901 (diff)
downloadglibc-f40473668438eaba88eced8d4e78db1225e90542.tar.gz
[BZ #18]
Update. * nscd/nscd_conf.c (nscd_parse_file): Little optimization. 2004-02-14 Thorsten Kukuk <kukuk@suse.de> * 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 <drepper@redhat.com> ld.so.preload is not present [BZ #18].
Diffstat (limited to 'nscd/dbg_log.h')
-rw-r--r--nscd/dbg_log.h5
1 files changed, 3 insertions, 2 deletions
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 <kukuk@vt.uni-paderborn.de>, 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