comparison src/octave.cc @ 2077:2d03b8eb891d

[project @ 1996-04-24 00:21:21 by jwe]
author jwe
date Wed, 24 Apr 1996 00:21:32 +0000
parents 003570e69c7b
children 36903d507b0e
comparison
equal deleted inserted replaced
2076:36800cb7fe04 2077:2d03b8eb891d
481 break; 481 break;
482 } 482 }
483 } 483 }
484 484
485 #if defined (HAVE_ATEXIT) || defined (HAVE_ON_EXIT) 485 #if defined (HAVE_ATEXIT) || defined (HAVE_ON_EXIT)
486 // Make sure we clean up when we exit. If we don't have atexit or 486 // Make sure we clean up when we exit. Also allow users to register
487 // on_exit, we're going to leave some junk files around if we exit 487 // functions. If we don't have atexit or on_exit, we're going to
488 // abnormally. 488 // leave some junk files around if we exit abnormally.
489
490 atexit (do_octave_atexit);
491
489 atexit (cleanup_tmp_files); 492 atexit (cleanup_tmp_files);
490 #endif 493 #endif
491 494
492 // These can come after command line args since none of them set any 495 // These can come after command line args since none of them set any
493 // defaults that might be changed by command line options. 496 // defaults that might be changed by command line options.