mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
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].
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user