Tue, 17 Feb 2009 05:17:51 +0000Fixed bug #633
Sam Lantinga [Tue, 17 Feb 2009 05:17:51 +0000] rev 3068
Fixed bug #633

Description From Michael Stone 2008-09-25 19:27:29 (-) [reply]

To determine whether a pid is occupied with the kill(pid, 0) idiom, you have to
test

#include <signal.h>
#include <errno.h>
kill(pid, 0) < 0 && errno == ESRCH

not just

#include <signal.h>
kill(pid, 0) < 0

otherwise you get incorrect results when pid is running as a different user
(causing kill(pid, 0) to return -1 + EPERM).

src/audio/alsa/SDL_alsa_audio.c is certainly affected by this bug in both
1.2.13 and 1.3-trunk. It probably occurs in other places as well.

Tue, 17 Feb 2009 04:57:39 +0000Fixed bug #537
Sam Lantinga [Tue, 17 Feb 2009 04:57:39 +0000] rev 3067
Fixed bug #537

Description From esigra 2008-01-07 16:20:21 (-) [reply]

I try to get a clean compile for a project using SDL. But I get warnings
from SDL headers when I use -Wold-style-cast. This is especially bad
because I plan to build the software with -Werror=old-style-cast when we
have switched over to GCC 4.2, which has that option.

But this problem can be fixed in the SDL headers. I checked out the SVN
version and made some patches. See the attached patch.

Sun, 15 Feb 2009 06:12:52 +0000Fixed destination of XCopyArea()
Sam Lantinga [Sun, 15 Feb 2009 06:12:52 +0000] rev 3066
Fixed destination of XCopyArea()

Sat, 14 Feb 2009 15:56:26 +0000Added reminder for shaped windows
Sam Lantinga [Sat, 14 Feb 2009 15:56:26 +0000] rev 3065
Added reminder for shaped windows

Sat, 14 Feb 2009 15:53:52 +0000Suggestion from the mailing list
Sam Lantinga [Sat, 14 Feb 2009 15:53:52 +0000] rev 3064
Suggestion from the mailing list

Thu, 12 Feb 2009 06:01:54 +0000Fixed off by one error in line drawing code
Sam Lantinga [Thu, 12 Feb 2009 06:01:54 +0000] rev 3063
Fixed off by one error in line drawing code

Mon, 09 Feb 2009 06:45:03 +0000We need to figure out whether we should handle events on foreign windows
Sam Lantinga [Mon, 09 Feb 2009 06:45:03 +0000] rev 3062
We need to figure out whether we should handle events on foreign windows

Mon, 09 Feb 2009 06:42:38 +0000More of the same
Sam Lantinga [Mon, 09 Feb 2009 06:42:38 +0000] rev 3061
More of the same

Mon, 09 Feb 2009 06:41:49 +0000Implemented Win32 version of the native window test
Sam Lantinga [Mon, 09 Feb 2009 06:41:49 +0000] rev 3060
Implemented Win32 version of the native window test

Mon, 09 Feb 2009 06:28:45 +0000Whoops, missed a file
Sam Lantinga [Mon, 09 Feb 2009 06:28:45 +0000] rev 3059
Whoops, missed a file