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-13 13:11:57 -05:00
2007-01-03 11:22:36 +00:00
2013-01-18 13:23:40 -05:00
2013-01-18 13:23:40 -05:00
2013-01-18 13:23:40 -05:00
2013-01-28 11:37:53 +00: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-12-27 23:43:14 -05:00
2012-11-09 09:32:03 +01:00
2013-01-13 13:11:57 -05:00
2012-04-05 10:23:42 -03:00
2013-01-13 13:11:57 -05:00
2011-10-01 20:22:46 -04:00
2013-01-28 11:37:53 +00:00
2013-01-28 11:37:53 +00:00
2013-01-13 13:13:43 -05:00
2013-01-13 13:11:57 -05:00
2012-01-28 07:52:56 +01:00
2013-01-13 13:11:57 -05:00
2012-11-15 14:19:06 -05:00
2013-01-13 13:11:57 -05:00
2012-08-28 13:16:24 -04:00
2013-01-13 13:11:57 -05:00
2011-08-29 14:49:32 -04:00
2012-11-09 09:09:39 +01:00
2013-01-13 13:11:57 -05:00
2013-01-18 13:03:28 -05:00
2013-01-13 13:11:57 -05:00
2013-01-18 13:03:28 -05:00
2012-12-10 20:08:09 -05:00
2013-01-13 13:11:57 -05:00
2012-01-30 16:59:27 +01:00
2013-01-18 13:28:43 -05:00
2013-01-13 13:11:57 -05:00
2012-11-01 14:47:25 +13:00
2013-01-13 13:11:57 -05:00
2010-09-03 21:24:40 -04:00
2012-01-28 07:52:56 +01:00
2013-01-13 13:11:57 -05:00
2012-11-24 11:23:22 -05:00
2013-01-13 13:11:57 -05:00
2012-11-16 08:22:06 -05:00
2013-01-13 13:11:57 -05:00
2011-04-29 18:03:24 -04:00
2008-04-08 02:59:05 +00:00
2012-10-03 13:58:19 +02:00
2012-09-13 18:34:29 -04:00
2013-01-13 13:11:57 -05:00
2013-01-13 12:32:40 -05:00
2013-01-13 13:11:57 -05:00
2013-01-25 00:17:18 +01:00
2013-01-13 13:11:57 -05:00
2012-11-28 16:25:43 +01:00
2013-01-13 13:11:57 -05:00
2012-10-10 10:03:15 -04:00
2013-01-13 13:11:57 -05:00
2011-12-14 12:26:16 +00:00
2012-12-27 23:43:14 -05:00
2011-12-13 23:01:51 -05:00
2013-01-13 13:11:57 -05:00
2010-12-15 03:56:35 -05:00
2013-01-13 13:11:57 -05:00
2008-09-11 16:48:44 +00:00
2008-09-11 16:48:44 +00:00
2012-11-28 16:34:18 +01:00
2013-01-15 14:08:02 -05:00
2012-11-01 14:47:25 +13:00
2012-11-15 14:19:06 -05:00
2012-11-15 14:19:06 -05:00
2013-01-13 13:11:57 -05:00
2010-05-27 14:51:41 -04:00
2010-05-27 14:51:41 -04: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
2012-12-06 13:30:31 -05:00
2013-01-18 13:03:28 -05:00
2013-01-29 09:46:04 -05:00
2013-01-15 14:08:02 -05:00
2012-11-16 08:22:06 -05:00
2012-10-07 20:12:02 -03:00
2011-06-07 08:55:31 +08:00
2010-05-27 14:51:41 -04:00
2012-09-26 17:47:52 +08:00
2013-01-13 13:11:57 -05:00
2012-11-01 14:47:25 +13:00
2013-01-13 13:11:57 -05:00
2013-01-13 13:13:36 -05:00
2012-12-27 23:43:14 -05:00
2013-01-18 13:03:28 -05:00
2013-01-15 14:08:02 -05:00
2012-11-15 14:19:06 -05:00
2013-01-13 13:11:57 -05:00
2013-01-19 14:30:05 -05:00
2013-01-13 13:11:57 -05:00
2012-08-20 16:41:42 +02:00
2013-01-13 13:11:57 -05:00
2013-01-25 11:23:48 -05:00
2013-01-18 13:03:28 -05:00
2008-04-08 02:59:05 +00:00
2012-11-01 14:47:25 +13:00
2013-01-13 13:11:57 -05:00
2012-08-28 13:16:24 -04:00
2013-01-13 13:11:57 -05:00
2012-11-01 14:47:25 +13:00
2013-01-13 13:11:57 -05:00
2010-09-13 16:52:51 +02:00
2013-01-13 13:11:57 -05:00
2011-06-08 23:44:39 -04:00
2013-01-13 13:11:57 -05:00
2011-07-22 15:47:24 +02:00
2013-01-13 13:11:57 -05:00
2004-07-21 17:51:28 +00:00
2012-03-20 22:29:50 -04:00
2013-01-13 13:11:57 -05:00
2012-08-28 13:16:23 -04:00
2013-01-13 13:11:57 -05:00
2012-04-05 10:23:39 -03:00
2013-01-13 13:11:57 -05:00
2012-11-01 14:47:25 +13:00
2013-01-13 13:11:57 -05:00
2012-08-28 13:16:24 -04:00
2013-01-13 13:11:57 -05:00
2012-04-05 10:23:39 -03:00
2013-01-13 13:11:57 -05:00
2012-10-03 13:58:19 +02:00
2013-01-26 19:12:10 +01:00
2013-01-13 13:11:57 -05:00
2012-09-13 10:20:27 +02:00
2013-01-13 13:11:57 -05:00
2012-01-28 07:52:56 +01:00
2013-01-13 13:11:57 -05:00
2012-11-01 14:47:25 +13:00
2013-01-13 13:11:57 -05:00
2008-08-04 18:46:59 +00:00
2012-11-15 14:19:06 -05:00
2013-01-29 09:46:04 -05:00
2013-01-13 13:11:57 -05:00
2013-01-29 09:46:04 -05:00
2013-01-29 09:46:04 -05:00
2012-11-28 16:55:12 +01:00
2013-01-13 13:11:57 -05:00
2012-07-06 10:19:12 -04:00
2013-01-13 13:11:57 -05:00
2011-10-04 23:08:12 +08:00
2013-01-13 13:11:57 -05:00
2010-12-28 16:35:12 +00:00
2013-01-23 12:23:51 -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
2013-01-18 13:03:28 -05:00
2012-12-18 13:13:15 -05:00
2013-01-13 13:11:57 -05:00
2012-07-31 14:37:56 -04:00
2013-01-13 13:11:57 -05:00
2013-01-18 13:03:28 -05:00
2012-11-01 14:47:25 +13:00
2013-01-13 13:11:57 -05:00
2013-01-18 17:22:52 -05:00
2013-01-13 13:11:57 -05:00
2011-10-16 16:52:24 -04:00
2012-12-27 23:43:14 -05:00
2012-11-01 14:47:25 +13:00
2013-01-13 13:11:57 -05:00
2013-01-13 13:13:36 -05:00
2010-09-03 20:38:30 -04:00
2012-10-03 13:58:19 +02:00
2012-10-03 13:58:19 +02:00
2013-01-13 22:59:40 -05:00
2013-01-18 13:03:28 -05:00
2012-11-16 18:51:41 +01:00
2012-10-03 13:58:19 +02:00
2012-03-31 20:34:28 +11:00
2012-10-03 13:58:19 +02:00
2012-10-03 13:58:19 +02:00
2012-02-29 13:09:41 -05:00
2013-01-13 13:11:57 -05:00
2012-06-18 07:39:23 +02:00
2013-01-18 13:28:43 -05:00
2013-01-13 13:13:36 -05:00
2012-12-06 13:30:31 -05:00
2013-01-18 13:03:28 -05:00
2013-01-13 13:11:57 -05:00
2013-01-13 12:32:40 -05:00
2013-01-18 16:27:13 -05:00
2013-01-13 13:11:57 -05:00
2012-08-20 16:26:25 -04:00
2013-01-13 13:11:57 -05:00
2012-08-27 16:12:30 -04:00
2013-01-13 13:11:57 -05:00
2012-03-31 20:34:28 +11:00
2013-01-13 13:11:57 -05:00
2012-02-26 23:58:41 -05:00
2013-01-13 13:11:57 -05:00
2013-01-13 13:13:36 -05:00
2013-01-25 12:06:04 -05:00
2013-01-18 13:28:43 -05:00
2012-03-31 20:34:28 +11: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
2011-11-16 09:10:46 +01:00
2012-11-15 14:19:06 -05:00