Mercurial > hg > octave-avbm
changeset 4181:dd2abf428f5d
[project @ 2002-11-15 18:33:41 by jwe]
author | jwe |
---|---|
date | Fri, 15 Nov 2002 18:33:41 +0000 |
parents | 84fe3ca3a246 |
children | 4d1d7c51205c |
files | libcruft/misc/quit.cc libcruft/misc/quit.h src/ChangeLog src/sighandlers.cc src/toplev.cc |
diffstat | 5 files changed, 7 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/libcruft/misc/quit.cc +++ b/libcruft/misc/quit.cc @@ -104,7 +104,7 @@ void octave_throw_bad_alloc (void) { - throw bad_alloc (); + throw std::bad_alloc (); } #endif
--- a/libcruft/misc/quit.h +++ b/libcruft/misc/quit.h @@ -148,7 +148,7 @@ SET_OCTAVE_INTERRUPT_IMMEDIATELY (saved_octave_interrupt_immediately); \ octave_jump_to_enclosing_context (); \ } \ - catch (bad_alloc) \ + catch (std::bad_alloc) \ { \ SET_OCTAVE_INTERRUPT_IMMEDIATELY (saved_octave_interrupt_immediately); \ octave_allocation_error = 1; \
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> + + * sighandlers.cc (OCTAVE_MEMORY_EXHAUSTED_ERROR): Delete. + 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> * sighandlers.cc (octave_new_handler): Delete.