aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2001-01-24 23:29:59 +0000
committerKenichi Handa2001-01-24 23:29:59 +0000
commitae08ba36c9f16b0763f84cea5afdab561bd08c3f (patch)
tree2ecfe7028bf4a1bc277c2b065b59e2b18a8ba627
parent64068fbfc125094db08c3263b02dcebe724153bd (diff)
downloademacs-ae08ba36c9f16b0763f84cea5afdab561bd08c3f.tar.gz
emacs-ae08ba36c9f16b0763f84cea5afdab561bd08c3f.zip
(ccl_driver): If ccl->suppress_error is nonzeor, don't
insert error message to the output. (setup_ccl_program): Initialize ccl->suppress_error to 0.
-rw-r--r--src/ccl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ccl.c b/src/ccl.c
index de50374f9f8..259ae8662f5 100644
--- a/src/ccl.c
+++ b/src/ccl.c
@@ -1720,7 +1720,8 @@ ccl_driver (ccl, source, destination, src_bytes, dst_bytes, consumed)
1720 } 1720 }
1721 1721
1722 ccl_error_handler: 1722 ccl_error_handler:
1723 if (destination) 1723 if (ccl->suppress_error
1724 && destination)
1724 { 1725 {
1725 /* We can insert an error message only if DESTINATION is 1726 /* We can insert an error message only if DESTINATION is
1726 specified and we still have a room to store the message 1727 specified and we still have a room to store the message
@@ -1937,6 +1938,7 @@ setup_ccl_program (ccl, ccl_prog)
1937 ccl->status = 0; 1938 ccl->status = 0;
1938 ccl->stack_idx = 0; 1939 ccl->stack_idx = 0;
1939 ccl->eol_type = CODING_EOL_LF; 1940 ccl->eol_type = CODING_EOL_LF;
1941 ccl->suppress_error = 0;
1940 return 0; 1942 return 0;
1941} 1943}
1942 1944