1. 29 Jun, 2016 1 commit
  2. 04 Apr, 2015 1 commit
  3. 12 Mar, 2015 1 commit
  4. 17 Feb, 2015 1 commit
  5. 18 Aug, 2014 1 commit
  6. 27 Mar, 2014 1 commit
  7. 31 Jan, 2014 1 commit
  8. 20 Nov, 2013 1 commit
    • Dan Winship's avatar
      Replace #ifdef HAVE_UNISTD_H checks with #ifdef G_OS_UNIX · 158dde05
      Dan Winship authored
      In Windows development environments that have it, <unistd.h> is mostly
      just a wrapper around several other native headers (in particular,
      <io.h>, which contains read(), close(), etc, and <process.h>, which
      contains getpid()). But given that some Windows dev environments don't
      have <unistd.h>, everything that uses those functions on Windows
      already needed to include the correct Windows header as well, and so
      there is never any point to including <unistd.h> on Windows.
      
      Also, remove some <unistd.h> includes (and a few others) that were
      unnecessary even on unix.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=710519
      158dde05
  9. 27 Sep, 2013 1 commit
  10. 29 Jan, 2013 1 commit
    • Colin Walters's avatar
      Add g_close(), use it · f398bec5
      Colin Walters authored
      There are two benefits to this:
      
      1) We can centralize any operating system specific knowledge of
         close-vs-EINTR handling.  For example, while on Linux we should never
         retry, if someone cared enough later about HP-UX, they could come by
         and change this one spot.
      2) For places that do care about the return value and want to provide
         the caller with a GError, this function makes it convenient to do so.
      
      Note that gspawn.c had an incorrect EINTR loop-retry around close().
      
      https://bugzilla.gnome.org/show_bug.cgi?id=682819
      f398bec5
  11. 15 Nov, 2012 1 commit
  12. 13 Nov, 2012 1 commit
  13. 19 Aug, 2012 1 commit
  14. 20 Apr, 2012 1 commit
  15. 15 Mar, 2012 1 commit
  16. 10 Jan, 2012 1 commit
  17. 23 Nov, 2011 1 commit
  18. 21 Nov, 2011 5 commits
  19. 18 Nov, 2011 1 commit
  20. 11 Nov, 2011 2 commits
  21. 19 Oct, 2011 1 commit
  22. 13 Oct, 2011 2 commits
  23. 05 Oct, 2011 1 commit
  24. 04 Oct, 2011 1 commit
  25. 03 Oct, 2011 1 commit
  26. 16 Sep, 2011 5 commits
  27. 20 Jun, 2011 1 commit
    • David Zeuthen's avatar
      GDBus: Unref worker from worker-thread to avoid race · 322e25b5
      David Zeuthen authored
      ... otherwise we might end up using the worker after it has been
      freed. Reported by Dan Winship and Colin Walters.
      
      This fix uncovered a bug in the /gdbus/nonce-tcp test case so "fix"
      that as well to use a better way of having one thread wait for another
      (using quotes for the word "fix" since it's pretty hackish to
      busy-wait in one thread to wait for another).
      Signed-off-by: default avatarDavid Zeuthen <davidz@redhat.com>
      322e25b5
  28. 01 Jun, 2011 1 commit
  29. 12 Apr, 2011 1 commit
  30. 08 Apr, 2011 1 commit