mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08: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:
parent
bf726173e7
commit
b6d0489350
@ -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
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user