projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1e56cd
)
2002-09-05 Jakub Jelinek <jakub@redhat.com>
author
Roland McGrath
<roland@gnu.org>
Thu, 5 Sep 2002 20:25:10 +0000
(20:25 +0000)
committer
Roland McGrath
<roland@gnu.org>
Thu, 5 Sep 2002 20:25:10 +0000
(20:25 +0000)
* wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Unlock and return in
case of failure.
ChangeLog
patch
|
blob
|
history
wcsmbs/wcsmbsload.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
ede97d4
..
1f66d5c
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,8
@@
+2002-09-05 Jakub Jelinek <jakub@redhat.com>
+
+ * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Unlock and return in
+ case of failure.
+
2002-09-04 Bruno Haible <bruno@clisp.org>
* sysdeps/unix/sysv/linux/sigset-cvt-mask.h (sigset_set_old_mask,
diff --git
a/wcsmbs/wcsmbsload.c
b/wcsmbs/wcsmbsload.c
index
539b02a
..
b2ee834
100644
(file)
--- a/
wcsmbs/wcsmbsload.c
+++ b/
wcsmbs/wcsmbsload.c
@@
-169,6
+169,8
@@
__wcsmbs_load_conv (struct locale_data *new_category)
{
failed:
new_category->private.ctype = &__wcsmbs_gconv_fcts_c;
+ __libc_lock_unlock (__libc_setlocale_lock);
+ return;
}
/* Get name of charset of the locale. */