Mercurial > sdl-ios-xcode
view README.SVN @ 3068:b21348d47cab
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.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 17 Feb 2009 05:17:51 +0000 |
parents | c9d71d0f987d |
children |
line wrap: on
line source
The latest development version of SDL is available via Subversion. Subversion allows you to get up-to-the-minute fixes and enhancements; as a developer works on a source tree, you can use svn to mirror that source tree instead of waiting for an official release. Please look at the Subversion website ( http://subversion.tigris.org/ ) for more information on using svn, where you can also download software for MacOS, Windows, and Unix systems. svn checkout http://svn.libsdl.org/trunk/SDL If you are building SDL with an IDE, you will need to copy the file include/SDL_config.h.default to include/SDL_config.h before building. If you are building SDL via configure, you will need to run autogen.sh before running configure. There is a web interface to the subversion repository at: http://www.libsdl.org/cgi/viewvc.cgi There is an RSS feed available at that URL, for those that want to track commits in real time.