mirror of git://sourceware.org/git/glibc.git
2005-06-27 Carlos O'Donell <carlos@systemhalted.org>
* posix/regcomp.c (re_compile_internal): __libc_lock_init after init_dfa.
This commit is contained in:
parent
d075e8ba45
commit
96c91d1cfe
|
|
@ -1,3 +1,8 @@
|
||||||
|
2005-06-27 Carlos O'Donell <carlos@systemhalted.org>
|
||||||
|
|
||||||
|
* posix/regcomp.c (re_compile_internal): __libc_lock_init
|
||||||
|
after init_dfa.
|
||||||
|
|
||||||
2005-07-08 Ulrich Drepper <drepper@redhat.com>
|
2005-07-08 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* sysdeps/x86_64/fpu/s_sincosl.S: Use retq not ret. Remove
|
* sysdeps/x86_64/fpu/s_sincosl.S: Use retq not ret. Remove
|
||||||
|
|
|
||||||
|
|
@ -774,8 +774,6 @@ re_compile_internal (preg, pattern, length, syntax)
|
||||||
}
|
}
|
||||||
preg->used = sizeof (re_dfa_t);
|
preg->used = sizeof (re_dfa_t);
|
||||||
|
|
||||||
__libc_lock_init (dfa->lock);
|
|
||||||
|
|
||||||
err = init_dfa (dfa, length);
|
err = init_dfa (dfa, length);
|
||||||
if (BE (err != REG_NOERROR, 0))
|
if (BE (err != REG_NOERROR, 0))
|
||||||
{
|
{
|
||||||
|
|
@ -789,6 +787,8 @@ re_compile_internal (preg, pattern, length, syntax)
|
||||||
strncpy (dfa->re_str, pattern, length + 1);
|
strncpy (dfa->re_str, pattern, length + 1);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
__libc_lock_init (dfa->lock);
|
||||||
|
|
||||||
err = re_string_construct (®exp, pattern, length, preg->translate,
|
err = re_string_construct (®exp, pattern, length, preg->translate,
|
||||||
syntax & RE_ICASE, dfa);
|
syntax & RE_ICASE, dfa);
|
||||||
if (BE (err != REG_NOERROR, 0))
|
if (BE (err != REG_NOERROR, 0))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue