1. 20 2月, 2014 1 次提交
  2. 13 4月, 2013 2 次提交
  3. 19 12月, 2012 1 次提交
  4. 15 6月, 2012 1 次提交
  5. 22 12月, 2011 1 次提交
  6. 06 12月, 2011 1 次提交
  7. 10 11月, 2011 1 次提交
  8. 22 10月, 2011 1 次提交
  9. 21 8月, 2011 2 次提交
  10. 16 6月, 2011 1 次提交
    • A
      Introduce format string for pid_t · 953ffe0f
      Andreas Färber 提交于
      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: NAndreas Färber <andreas.faerber@web.de>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      953ffe0f
  11. 17 3月, 2011 1 次提交
  12. 13 3月, 2011 1 次提交
  13. 21 2月, 2011 1 次提交
  14. 30 10月, 2010 1 次提交
  15. 09 10月, 2010 1 次提交
  16. 15 8月, 2010 1 次提交
  17. 12 6月, 2010 7 次提交