Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 2 Apr 1999 10:28:18 +0000 (10:28 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 2 Apr 1999 10:28:18 +0000 (10:28 +0000)
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].

ChangeLog
misc/syslog.c

index de61cae..a2ff5a5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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].
+
 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
 
        * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
index daa8b77..bba9492 100644 (file)
@@ -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);