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
path: root/newlib
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2010-05-12 00:41:37 +0400
committerJeff Johnston <jjohnstn@redhat.com>2010-05-12 00:41:37 +0400
commitca52bf17056dcaaa7a78aa34eaf72af627fdedf6 (patch)
tree2e63d756aef04db54c043c5a2b10f83e7a5c9e0e /newlib
parent60bdafbbdac1f3e4d5939844d7f133d4e519c012 (diff)
2010-05-11 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdlib/__call_atexit.c: Fix lock to be of type _LOCK_RECURSIVE_T as recursive usage is needed.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/stdlib/__call_atexit.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 78d1a3a99..b6d00e32c 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,5 +1,10 @@
2010-05-11 Jeff Johnston <jjohnstn@redhat.com>
+ * libc/stdlib/__call_atexit.c: Fix lock to be of type
+ _LOCK_RECURSIVE_T as recursive usage is needed.
+
+2010-05-11 Jeff Johnston <jjohnstn@redhat.com>
+
* libc/locale/locale.c (loadlocale): Fix dangling
switch statement caused by __HAVE_LOCALE_INFO__ not being
defined.
diff --git a/newlib/libc/stdlib/__call_atexit.c b/newlib/libc/stdlib/__call_atexit.c
index 813c34da6..6dd2ec63a 100644
--- a/newlib/libc/stdlib/__call_atexit.c
+++ b/newlib/libc/stdlib/__call_atexit.c
@@ -12,7 +12,7 @@
void free(void *) _ATTRIBUTE((__weak__));
#ifndef __SINGLE_THREAD__
-extern _LOCK_T __atexit_lock;
+extern _LOCK_RECURSIVE_T __atexit_lock;
#endif
/*