Mercurial > hg > octave-avbm
changeset 8749:5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 16 Feb 2009 01:41:06 -0500 |
parents | d1eed318100f |
children | 8af4ba6b4216 |
files | NEWS liboctave/ChangeLog liboctave/cmd-edit.cc src/ChangeLog src/input.cc |
diffstat | 5 files changed, 19 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/NEWS +++ b/NEWS @@ -32,7 +32,7 @@ comet ezpolar ishghandle dellistener ezsurf linkprop -** Improvements to the debugger. + ** Improvements to the debugger. The interactive debugging features have been improved. Stopping on statements with dbstop should work correctly now. Stepping @@ -42,6 +42,13 @@ to print the current function call stack. The new dbquit function is available to exit the debugging mode. + ** Improved traceback error messages. + + Traceback error messages are much more concise and easier to + understand. They now display information about the function call + stack instead of the stack of all statements that were active at + the point of the error. + ** New experimental OpenGL/FLTK based plotting system. An experimental plotting system based on OpenGL and the FLTK
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,8 @@ +2009-02-16 John W. Eaton <jwe@octave.org> + + * cmd-edit.cc (default_command_editor::do_readline): + Use fputs instead of fprintf. + 2009-02-14 Jaroslav Hajek <highegg@gmail.com> * mx-inlines.cc (OP_RED_FCN, OP_RED_FCN2, OP_RED_FCNN, OP_CUM_FCN,
--- a/liboctave/cmd-edit.cc +++ b/liboctave/cmd-edit.cc @@ -753,7 +753,7 @@ std::string default_command_editor::do_readline (const std::string& prompt, bool& eof) { - fprintf (output_stream, prompt.c_str ()); + fputs (prompt.c_str (), output_stream); fflush (output_stream); return octave_fgetl (input_stream, eof);