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].
This commit is contained in:
Ulrich Drepper 1999-04-02 10:28:18 +00:00
parent bf726173e7
commit b6d0489350
2 changed files with 7 additions and 1 deletions

View File

@ -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> 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* elf/Makefile (CFLAGS-multiload.c): Change to allow building in * elf/Makefile (CFLAGS-multiload.c): Change to allow building in

View File

@ -313,7 +313,6 @@ closelog_internal()
__close (LogFile); __close (LogFile);
LogFile = -1; LogFile = -1;
connected = 0; connected = 0;
LogTag = NULL;
} }
void void
@ -325,6 +324,7 @@ closelog ()
__libc_lock_lock (syslog_lock); __libc_lock_lock (syslog_lock);
closelog_internal (); closelog_internal ();
LogTag = NULL;
/* Free the lock. */ /* Free the lock. */
__libc_cleanup_region_end (1); __libc_cleanup_region_end (1);