diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2012-01-03 19:13:57 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2012-01-03 19:13:57 +0000 |
commit | 286625cf9103de59993c2275691c4feb12a29885 (patch) | |
tree | 5b509948b91edea87e7568a3e0b4a5e1c296d264 | |
parent | 2a4b36abb71373c39fb84add0c6405049f5b8e76 (diff) | |
download | cygnal-286625cf9103de59993c2275691c4feb12a29885.tar.gz cygnal-286625cf9103de59993c2275691c4feb12a29885.tar.bz2 cygnal-286625cf9103de59993c2275691c4feb12a29885.zip |
2012-01-03 Viachaslau Kulakouski <Viachaslau.Kulakouski@oracle.com>
* libc/stdlib/__atexit.c: Refer to __atexit_lock instead of lock.
-rw-r--r-- | newlib/ChangeLog | 8 | ||||
-rw-r--r-- | newlib/libc/stdlib/__atexit.c | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index b54839482..550cfdda8 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,7 +1,11 @@ +2012-01-03 Viachaslau Kulakouski <Viachaslau.Kulakouski@oracle.com> + + * libc/stdlib/__atexit.c: Refer to __atexit_lock instead of lock. + 2011-12-20 Aleksandr Platonov <pam@oktetlabs.ru> - * fvwrite.c (__sfvwrite_r): Set __SMBF flag to avoid double free in - fclose. Enhance comment. + * libc/stdio/fvwrite.c (__sfvwrite_r): Set __SMBF flag to avoid double + free in fclose. Enhance comment. 2011-12-19 Jeff Johnston <jjohnstn@redhat.com> diff --git a/newlib/libc/stdlib/__atexit.c b/newlib/libc/stdlib/__atexit.c index a26d2eccc..4687d0023 100644 --- a/newlib/libc/stdlib/__atexit.c +++ b/newlib/libc/stdlib/__atexit.c @@ -74,7 +74,7 @@ _DEFUN (__register_exitproc, if (args == NULL) { #ifndef __SINGLE_THREAD__ - __lock_release(lock); + __lock_release(__atexit_lock); #endif return -1; } |