Changed priorities of destructors so atexit will be called before open files

are closed on exit, so atexit handlers may close the files themselves or
whatever is necessary for a clean shutdown.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4939 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2011-01-28 10:55:03 +00:00
parent a214ccff92
commit a9990fbcf3
4 changed files with 5 additions and 5 deletions

View File

@@ -5,7 +5,7 @@
;
.export _atexit
.destructor doatexit, 5
.destructor doatexit, 17
.import callax
.include "errno.inc"