# HG changeset patch # User Kenichi Handa # Date 1205151482 0 # Node ID 23dc6fc4bf91b05c5c6f70ccb205aa905a3e3fbc # Parent 27c07affc71021d92933ea6282ab16e0c77d5eb4 (ccl_driver): If ccl->quit_silently is nonzero, don't append "CCL: Quitted" when the CCL program is quitted. (setup_ccl_program): Initialize ccl->quit_silently to zero. diff -r 27c07affc710 -r 23dc6fc4bf91 src/ccl.c --- a/src/ccl.c Mon Mar 10 12:16:47 2008 +0000 +++ b/src/ccl.c Mon Mar 10 12:18:02 2008 +0000 @@ -1909,7 +1909,8 @@ break; case CCL_STAT_QUIT: - sprintf(msg, "\nCCL: Quited."); + if (! ccl->quit_silently) + sprintf(msg, "\nCCL: Quited."); break; default: @@ -2112,6 +2113,7 @@ ccl->eol_type = CODING_EOL_LF; ccl->suppress_error = 0; ccl->eight_bit_control = 0; + ccl->quit_silently = 0; return 0; }