about summary refs log tree commit diff
path: root/misc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-04-02 10:28:18 +0000
committerUlrich Drepper <drepper@redhat.com>1999-04-02 10:28:18 +0000
commitb6d04893506c23e5a36deefffc67328c7382149a (patch)
tree751a04c7c28fca5c6cd533526748117bdaa4f8ca /misc
parentbf726173e725ccbccef404f631385d52adcabb29 (diff)
downloadglibc-b6d04893506c23e5a36deefffc67328c7382149a.tar.gz
glibc-b6d04893506c23e5a36deefffc67328c7382149a.tar.xz
glibc-b6d04893506c23e5a36deefffc67328c7382149a.zip
Update.
1999-04-02  Ulrich Drepper  <drepper@cygnus.com>

	* misc/syslog.c (closelog_internal): Do not reset LogTag here.
	(closelog): But instead here.
	Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
Diffstat (limited to 'misc')
-rw-r--r--misc/syslog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/syslog.c b/misc/syslog.c
index daa8b77efa..bba9492bdc 100644
--- a/misc/syslog.c
+++ b/misc/syslog.c
@@ -313,7 +313,6 @@ closelog_internal()
   __close (LogFile);
   LogFile = -1;
   connected = 0;
-  LogTag = NULL;
 }
 
 void
@@ -325,6 +324,7 @@ closelog ()
   __libc_lock_lock (syslog_lock);
 
   closelog_internal ();
+  LogTag = NULL;
 
   /* Free the lock.  */
   __libc_cleanup_region_end (1);