Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Robert Dubner
OpenLDAP
Commits
511e8b60
Commit
511e8b60
authored
Aug 25, 2001
by
Pierangelo Masarati
Browse files
fix bug in '%' escaping in substitution pattern compile
parent
118ca0dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/librewrite/subst.c
View file @
511e8b60
...
...
@@ -57,7 +57,9 @@ rewrite_subst_compile(
*/
if
(
p
[
0
]
!=
REWRITE_SUBMATCH_ESCAPE
)
{
continue
;
}
else
if
(
p
[
1
]
==
REWRITE_SUBMATCH_ESCAPE
)
{
}
if
(
p
[
1
]
==
REWRITE_SUBMATCH_ESCAPE
)
{
memmove
(
p
,
p
+
1
,
strlen
(
p
)
);
continue
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment