1. 12 Apr, 2013 2 commits
  2. 19 Dec, 2012 1 commit
  3. 15 Jun, 2012 1 commit
  4. 22 Dec, 2011 1 commit
  5. 06 Dec, 2011 1 commit
  6. 09 Nov, 2011 1 commit
  7. 21 Oct, 2011 1 commit
  8. 21 Aug, 2011 2 commits
  9. 15 Jun, 2011 1 commit
    • Andreas Färber's avatar
      Introduce format string for pid_t · 953ffe0f
      Andreas Färber authored
      BeOS and Haiku on i386 use long for 32-bit types, including pid_t.
      Using %d with pid_t therefore results in a warning.
      
      Unfortunately POSIX:2008 does not define a PRId* string for pid_t.
      
      In some places pid_t was previously casted to long and %ld hardcoded.
      The predecessor of this patch added another upcast for the simpletrace
      filename but was not applied to date.
      
      Since new uses of pid_t with %d keep creeping in, let's instead define
      an OS-dependent format string and use that consistently.
      
      Cc: Stefan Hajnoczi <stefanha@gmail.com>
      Cc: Blue Swirl <blauwirbel@gmail.com>
      Cc: Ingo Weinhold <ingo_weinhold@gmx.de>
      Cc: Gleb Natapov <gleb@redhat.com>
      Signed-off-by: default avatarAndreas Färber <andreas.faerber@web.de>
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
      953ffe0f
  10. 16 Mar, 2011 1 commit
  11. 13 Mar, 2011 1 commit
  12. 20 Feb, 2011 1 commit
  13. 30 Oct, 2010 1 commit
  14. 09 Oct, 2010 1 commit
  15. 15 Aug, 2010 1 commit
  16. 12 Jun, 2010 7 commits