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-21 09:51:09 -05:00
2013-01-26 10:09:33 -05:00
2012-12-12 15:20:22 +01:00
2012-02-02 16:22:42 +01:00
2013-01-29 09:46:04 -05:00
2012-07-03 21:14:41 -04: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
2010-07-07 19:53:22 -04:00
2013-01-29 09:46:04 -05:00
2012-11-28 00:58:03 -05:00
2012-08-16 23:02:41 -04:00
2012-12-12 15:20:22 +01:00
2012-01-01 19:01:14 +01:00
2011-06-07 08:55:31 +08:00
2012-11-29 16:29:47 -03: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-29 09:46:04 -05:00
2010-07-07 19:53:22 -04:00
2011-02-08 10:05:00 -05:00
2012-11-29 14:07:27 -05:00
2013-01-13 22:59:40 -05:00
2012-12-12 15:20:22 +01:00
2012-12-12 15:20:22 +01:00
2011-12-10 21:46:39 -05:00
2013-01-29 09:46:04 -05:00
2011-02-08 10:05:00 -05:00
2012-08-19 02:19:27 -04:00
2012-08-19 02:21:02 -04:00
2012-08-19 02:21:02 -04:00
2011-06-04 18:48:19 -04:00
2012-08-18 23:15:58 -04:00
2012-12-12 15:20:22 +01:00
2012-01-13 17:12:57 +01:00
2012-12-29 00:22:34 -05:00
2011-08-29 14:49:32 -04:00
2011-10-16 21:41:15 -04:00
2011-10-02 22:33:10 -04:00
2012-12-12 15:20:22 +01:00
2012-12-12 15:20:22 +01:00
2012-12-12 15:20:22 +01:00
2012-12-12 15:20:22 +01:00
2012-07-03 21:14:41 -04:00
2012-11-15 14:19:06 -05:00
2012-08-18 23:15:58 -04:00
2010-07-07 19:53:22 -04:00