Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--newlib/ChangeLog8
-rw-r--r--newlib/libc/stdlib/__atexit.c2
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;
}