[SDL] SDL_Quit.c breaks the build (SDL 1.2 trunk)

Paweł Góralski nokturnal at nokturnal.pl
Sat Jul 16 01:07:07 PDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
This patch maybe will fix compilation issue in case sa_sigaction member
doesn't exist, but it still can give problems in the future for POSIX
compliant systems with both sa_sigaction and sa_handler. Like I have
mentioned in my first post:

"The storage occupied by sa_handler and sa_sigaction may overlap,
and a conforming application shall not use both simultaneously."


Regards,
Pawel

W dniu 2011-07-14 15:43, Patrice Mandin pisze:
> Le Thu, 14 Jul 2011 02:04:48 +0200 Paweł Góralski
> <nokturnal at nokturnal.pl> a écrit:
> 
>> W dniu 2011-07-14 01:49, Ryan C. Gordon pisze:
>>> 
>>>> Recently I've pulled changes from SDL 1.2 trunk and there is 
>>>> problem with SDL_Quit.
>>> 
>>> This is on Linux, right? I'll take a look at it.
>> Well, partially ;). I'm using gcc 4.5.3 cross compiler for Atari
>> TOS (m68k based) machines under Linux 32/64 bit to be more
>> precise: http://vincent.riviere.free.fr/soft/m68k-atari-mint/
> 
> Hello,
> 
> Here is a patch to check for sa_sigaction member of struct sigaction
> at configure stage, and use this info at compile time. This is for
> SDL-1.2 only, as we do not support 1.3 on Atari, and yes, this
> platform does not have sa_sigaction in its libc.
> 
> 
> 
> 
> _______________________________________________ SDL mailing list 
> SDL at lists.libsdl.org 
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOIUarAAoJEBDLM06eKs6d5yMH/i3LcYQeKD+hyOi+iRaq4g9h
huahfV0ahorWMYh+ZH6iuWRUJ1C2S5L7wxdNzRQJQQ+IMrNpjqE7ffBJPd4fQkKc
3Vy74pyly15H0+RC9l1SJXqktATiaemyVAvAby/X/Lm7yqQ7YBjfBEYuznn5CtB4
Hd4UKZF8UaHsBSbHbEun4k7RyUGaGnHQ5zdK8qTO104uOdHxVmbFpPNUCXBoJQ+Z
u6YbDsM6D0gdJZX30WKyHoMGbRuo8c2bXqfAFBhNfwGrsnElA71eSMqDprYTbugx
DGWFVSft9i/MDO311OFm+nVTvX3Y+3qAZ0zLp9VQ6rjl4laVXhVe3YSjiFM44ck=
=sW1K
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2844 bytes
Desc: Kryptograficzna sygnatura S/MIME
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20110716/848f613c/attachment-0008.bin>


More information about the SDL mailing list