# HG changeset patch # User John W. Eaton # Date 1342798850 14400 # Node ID 55d0f8d70fe934bca957e9dd2e8c97efad4de69c # Parent 577df411e0c7fe1d9f233b895c10fbbd360bcbff 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. diff --git a/src/sighandlers.cc b/src/sighandlers.cc --- 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 }