# HG changeset patch # User jwe # Date 1162053052 0 # Node ID 58f46c6f0d514ed94f72bd725c94b3c1b0eeffa9 # Parent 8d285942fc3c852e42319c57ad14950ab99f45b9 [project @ 2006-10-28 16:30:52 by jwe] diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2006-10-28 John W. Eaton + + * toplev.cc (Fatexit): Push function names on the stack even if we + don't have atexit or on_exit. + 2006-10-28 Michael Goffioul * mappers.cc (install_mapper_functions): Undefine toascii before diff --git a/src/toplev.cc b/src/toplev.cc --- 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 ();