diff options
author | Ulrich Drepper <drepper@gmail.com> | 2012-01-16 09:03:20 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2012-01-16 09:03:20 -0500 |
commit | 400aa020ea599b4319670a1cea7028930aeab588 (patch) | |
tree | 63a2fbf11faaf49a39433c2aa61c9f6bbd4d4af9 /stdlib/fmtmsg.c | |
parent | e0a309cf2a59042718fa95f97c5c35da33e61650 (diff) | |
download | glibc-400aa020ea599b4319670a1cea7028930aeab588.zip glibc-400aa020ea599b4319670a1cea7028930aeab588.tar.gz glibc-400aa020ea599b4319670a1cea7028930aeab588.tar.bz2 |
Fix locking problem in fmtmsg
Diffstat (limited to 'stdlib/fmtmsg.c')
-rw-r--r-- | stdlib/fmtmsg.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/stdlib/fmtmsg.c b/stdlib/fmtmsg.c index 8ee06bf..d187bb2 100644 --- a/stdlib/fmtmsg.c +++ b/stdlib/fmtmsg.c @@ -1,4 +1,5 @@ -/* Copyright (C) 1997,1999-2003,2005,2006,2011 Free Software Foundation, Inc. +/* Copyright (C) 1997,1999-2003,2005,2006,2011,2012 + Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -280,6 +281,8 @@ init (void) sevlevel_var = end + (*end == ':' ? 1 : 0); } + + __libc_lock_unlock (lock); } } |