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
..
2012-07-07 22:08:02 +02:00
2011-06-12 16:17:30 -04:00
2012-08-16 19:17:41 -04:00
2012-01-28 07:52:56 +01:00
2012-11-15 14:19:06 -05:00
2011-08-29 14:49:32 -04:00
2012-11-09 09:09:39 +01:00
2013-01-18 13:03:28 -05:00
2012-01-28 07:52:56 +01:00
2012-10-10 10:03:15 -04:00
2011-12-13 23:01:51 -05:00
2012-11-15 14:19:06 -05:00
2012-11-15 14:19:06 -05:00
2012-11-15 14:19:06 -05:00
2013-01-18 13:03:28 -05:00
2011-05-28 23:27:24 -04:00
2013-01-29 09:46:04 -05:00
2013-01-15 14:08:02 -05:00
2012-10-07 20:12:02 -03:00
2013-01-18 13:03:28 -05:00
2012-11-15 14:19:06 -05:00
2013-01-19 14:30:05 -05:00
2013-01-18 13:03:28 -05:00
2010-09-13 16:52:51 +02:00
2011-06-08 23:44:39 -04:00
2011-07-22 15:47:24 +02:00
2012-03-20 22:29:50 -04:00
2012-01-28 07:52:56 +01:00
2012-11-15 14:19:06 -05:00
2013-01-29 09:46:04 -05:00
2013-01-29 09:46:04 -05:00
2013-01-29 09:46:04 -05:00
2013-01-20 03:14:24 -05:00
2013-01-20 03:12:09 -05:00
2013-01-04 08:28:13 -05:00
2012-12-18 13:13:15 -05:00
2013-01-18 17:22:52 -05:00
2010-09-03 20:38:30 -04:00
2013-01-13 22:59:40 -05:00
2012-02-26 23:58:41 -05:00
2013-01-13 22:59:40 -05:00
2010-12-03 14:41:06 -05:00
2013-01-17 10:50:18 -05:00
2012-11-15 14:19:06 -05:00