projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffc30cc
)
Fix uninitialized variable in fun_regreplace
author
Ari Johnson
<ari@theari.com>
Mon, 11 Apr 2011 03:12:25 +0000
(23:12 -0400)
committer
Ari Johnson
<ari@theari.com>
Mon, 11 Apr 2011 03:12:25 +0000
(23:12 -0400)
src/funlist.c
patch
|
blob
|
history
diff --git
a/src/funlist.c
b/src/funlist.c
index 455501b34312b336fb12c92ad922e205f99a4f0f..6101f46bfbd28eda5279db97c7cd7d8df060659b 100644
(file)
--- a/
src/funlist.c
+++ b/
src/funlist.c
@@
-3141,6
+3141,7
@@
FUNCTION(fun_regreplace)
int *old_re_offsets;
char *old_re_from;
+ old_re_code = global_eval_context.re_code;
old_re_subpatterns = global_eval_context.re_subpatterns;
old_re_offsets = global_eval_context.re_offsets;
old_re_from = global_eval_context.re_from;