Mercurial > hg > octave-lyh
changeset 6124:58f46c6f0d51
[project @ 2006-10-28 16:30:52 by jwe]
author | jwe |
---|---|
date | Sat, 28 Oct 2006 16:30:52 +0000 |
parents | 8d285942fc3c |
children | a1754033bc6c |
files | src/ChangeLog src/toplev.cc |
diffstat | 2 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2006-10-28 John W. Eaton <jwe@octave.org> + + * toplev.cc (Fatexit): Push function names on the stack even if we + don't have atexit or on_exit. + 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> * mappers.cc (install_mapper_functions): Undefine toascii before
--- a/src/toplev.cc +++ b/src/toplev.cc @@ -674,16 +674,12 @@ if (nargin == 1) { -#if defined (HAVE_ATEXIT) || defined (HAVE_ON_EXIT) std::string arg = args(0).string_value (); if (! error_state) octave_atexit_functions.push (arg); else error ("atexit: argument must be a string"); -#else - gripe_not_supported ("atexit"); -#endif } else print_usage ();