Switch all open() calls to use g_open()
authorColin Walters <walters@verbum.org>
Mon, 27 Aug 2012 22:30:06 +0000 (18:30 -0400)
committerColin Walters <walters@verbum.org>
Tue, 28 Aug 2012 17:56:59 +0000 (13:56 -0400)
commit6e64ba58b90d1d834a6b5f61acec6755e4b80072
tree7bd087c97afbc7816aee82abdea54547885e0533
parent2542b6f60492fadfb21f2c4a29976c3494c7e6c5
Switch all open() calls to use g_open()

Because it now handles EINTR.  And we should do so.  While most people
use Linux, which tries very hard to avoid propagating EINTR back up
into userspace, it can still happen.

https://bugzilla.gnome.org/show_bug.cgi?id=682833
gio/glocalfile.c
gio/glocalfileinfo.c
gio/gresource-tool.c
gio/tests/gdbus-peer.c
gio/tests/pollable.c
glib/giounix.c
glib/gtestutils.c
glib/tests/mappedfile.c
gobject/glib-genmarshal.c