projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7c1f4d
)
(parse_reg_exp): If '|' is immediately followed by another '|', end of regex or enclo...
author
Ulrich Drepper
<drepper@redhat.com>
Mon, 12 Aug 2002 19:18:45 +0000
(19:18 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Mon, 12 Aug 2002 19:18:45 +0000
(19:18 +0000)
posix/regcomp.c
patch
|
blob
|
history
diff --git
a/posix/regcomp.c
b/posix/regcomp.c
index
0613de6
..
9406383
100644
(file)
--- a/
posix/regcomp.c
+++ b/
posix/regcomp.c
@@
-1807,6
+1807,8
@@
parse_reg_exp (regexp, preg, token, syntax, nest, err)
return NULL;
}
}
+ else
+ branch = NULL;
tree = create_tree (tree, branch, 0, new_idx);
if (BE (new_idx == -1 || tree == NULL, 0))
return *err = REG_ESPACE, NULL;