1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
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

@ -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);