summaryrefslogtreecommitdiff
path: root/posix/regcomp.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-07-18 04:41:16 +0000
committerRoland McGrath <roland@gnu.org>2005-07-18 04:41:16 +0000
commit7a85da437bd49afd827c41474677c3904cf7ce3e (patch)
tree8ab56107960fcc0f3a2cf39f2eef07aadc180e1a /posix/regcomp.c
parentefe36102b1d423e82e94217e069460134cde5687 (diff)
Updated to fedora-glibc-2_3-20050718T0425
Diffstat (limited to 'posix/regcomp.c')
-rw-r--r--posix/regcomp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/posix/regcomp.c b/posix/regcomp.c
index 72bf187b14..2100bb5420 100644
--- a/posix/regcomp.c
+++ b/posix/regcomp.c
@@ -779,6 +779,8 @@ re_compile_internal (preg, pattern, length, syntax)
}
preg->used = sizeof (re_dfa_t);
+ __libc_lock_init (dfa->lock);
+
err = init_dfa (dfa, length);
if (BE (err != REG_NOERROR, 0))
{