changeset 14989:55d0f8d70fe9

shorten signal warnings * sighandlers.cc (octave_signal_handler): Don't print " -- trying to return to prompt" for SIGFPE or " -- some output may be lost" for SIGPIPE.
author John W. Eaton <jwe@octave.org>
date Fri, 20 Jul 2012 11:40:50 -0400
parents 577df411e0c7
children e0525ecf156e
files src/sighandlers.cc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/sighandlers.cc
+++ b/src/sighandlers.cc
@@ -147,12 +147,12 @@
 #endif
 
             case SIGFPE:
-              std::cerr << "warning: floating point exception -- trying to return to prompt" << std::endl;
+              std::cerr << "warning: floating point exception" << std::endl;
               break;
 
 #ifdef SIGPIPE
             case SIGPIPE:
-              std::cerr << "warning: broken pipe -- some output may be lost" << std::endl;
+              std::cerr << "warning: broken pipe" << std::endl;
               break;
 #endif
             }