Colin Walters f398bec5bc Add g_close(), use it
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
2013-01-29 09:46:04 -05:00
..
2013-01-02 13:10:31 +01:00
2012-04-23 02:46:18 +01:00
2012-04-23 02:46:18 +01:00
2012-06-25 23:23:58 -04:00
2013-01-29 09:46:04 -05:00
2012-08-03 23:36:45 -04:00
2012-08-16 17:21:03 -04:00
2000-12-05 20:43:58 +00:00
2000-12-05 20:43:58 +00:00
2000-12-05 20:43:58 +00:00
2000-12-05 20:43:58 +00:00
2012-09-14 19:40:24 -04:00
2012-04-23 02:46:18 +01:00
2002-11-23 01:37:17 +00:00