1. 17 Feb, 2009 2 commits
    • Sam Lantinga's avatar
      Fixed bug #633 · d9d69026
      Sam Lantinga authored
         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.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403533
      d9d69026
    • Sam Lantinga's avatar
      Fixed bug #537 · d2e9f851
      Sam Lantinga authored
      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.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403532
      d2e9f851
  2. 15 Feb, 2009 1 commit
  3. 14 Feb, 2009 2 commits
  4. 12 Feb, 2009 1 commit
  5. 09 Feb, 2009 6 commits
  6. 08 Feb, 2009 1 commit
  7. 07 Feb, 2009 2 commits
  8. 30 Jan, 2009 2 commits
  9. 29 Jan, 2009 1 commit
    • Sam Lantinga's avatar
      · 9bb60da0
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403514
      9bb60da0
  10. 25 Jan, 2009 1 commit
  11. 19 Jan, 2009 4 commits
  12. 18 Jan, 2009 1 commit
  13. 15 Jan, 2009 1 commit
  14. 14 Jan, 2009 4 commits
  15. 13 Jan, 2009 6 commits
  16. 12 Jan, 2009 5 commits