• Ryan C. Gordon's avatar
    Removed atexit() from most of the test programs; atexit(SDL_Quit) isn't safe · 91121c31
    Ryan C. Gordon authored
     if SDL is built with a non-cdecl calling convention, and it's just generally
     bad practice anyhow.
    
    Now programs explicitly call SDL_Quit() where appropriate, wrap SDL_Quit() in
     a cdecl function where it can't be avoided, and rely on the parachute where
     a crash might have hit the atexit() before (these ARE test programs, after
     all!).
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401154
    91121c31
Name
Last commit
Last update
..
.cvsignore Loading commit data...
.gdbinit Loading commit data...
COPYING Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
checkkeys.c Loading commit data...
configure.in Loading commit data...
graywin.c Loading commit data...
icon.bmp Loading commit data...
loopwave.c Loading commit data...
missing Loading commit data...
moose.dat Loading commit data...
picture.xbm Loading commit data...
sail.bmp Loading commit data...
sample.bmp Loading commit data...
sample.wav Loading commit data...
testalpha.c Loading commit data...
testbitmap.c Loading commit data...
testblitspeed.c Loading commit data...
testcdrom.c Loading commit data...
testcpuinfo.c Loading commit data...
testdyngl.c Loading commit data...
testendian.c Loading commit data...
testerror.c Loading commit data...
testgamma.c Loading commit data...
testgl.c Loading commit data...
testhread.c Loading commit data...
testjoystick.c Loading commit data...
testkeys.c Loading commit data...
testlock.c Loading commit data...
testoverlay.c Loading commit data...
testoverlay2.c Loading commit data...
testpalette.c Loading commit data...
testsem.c Loading commit data...
testsprite.c Loading commit data...
testtimer.c Loading commit data...
testtypes.c Loading commit data...
testver.c Loading commit data...
testvidinfo.c Loading commit data...
testwin.c Loading commit data...
testwm.c Loading commit data...
threadwin.c Loading commit data...
torturethread.c Loading commit data...