aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2007-03-31 11:46:22 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2007-03-31 11:46:22 +0000
commit0bed9472b34d72347089dee1d0ce6f3d3bb65496 (patch)
tree0a9bc06994251983985166152948e0e5e0210faa
parentffdc775f335cad8544e8eb8b8a12039817c18650 (diff)
downloadmailfromd-0bed9472b34d72347089dee1d0ce6f3d3bb65496.tar.gz
mailfromd-0bed9472b34d72347089dee1d0ce6f3d3bb65496.tar.bz2
(_fixup): Set .compile
git-svn-id: file:///svnroot/mailfromd/trunk@1328 7a8a7f39-df28-0410-adc6-e0d955640f24
-rw-r--r--src/prog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/prog.c b/src/prog.c
index a3cea4a3..386feb4b 100644
--- a/src/prog.c
+++ b/src/prog.c
@@ -1670,7 +1670,8 @@ _fixup(prog_counter_t pc, struct optab *op, void *data)
parse_error_locus(locus,
"Cannot compile regex: %s",
errbuf);
- }
+ } else
+ regtab[index].compiled = 1;
} else if (opcode == opcode_locus) {
locus->file = (char*) (dataseg + (size_t) prog[pc+1]);
locus->line = (size_t) prog[pc+2];

Return to:

Send suggestions and report system problems to the System administrator.