Bug 554092 – glib doesn't return G_FILE_ERROR_NOENT et al on OS X
authorBehdad Esfahbod <behdad@gnome.org>
Tue, 30 Sep 2008 20:40:31 +0000 (20:40 +0000)
committerBehdad Esfahbod <behdad@src.gnome.org>
Tue, 30 Sep 2008 20:40:31 +0000 (20:40 +0000)
commitef4d522b9b6d8be56f25d730401dad3e61e19cd7
tree7ab9e69ae000f38ceca6f2056d3c774158a6708a
parent23a4ae82e5088fd12e951d0c41efa5ab2d206624
Bug 554092 – glib doesn't return G_FILE_ERROR_NOENT et al on OS X

2008-09-30  Behdad Esfahbod  <behdad@gnome.org>

        Bug 554092 – glib doesn't return G_FILE_ERROR_NOENT et al on OS X

        * glib/giounix.c (g_io_unix_read), (g_io_unix_write),
        (g_io_unix_seek), (g_io_unix_close), (g_io_unix_set_flags),
        (g_io_unix_get_flags), (g_io_channel_new_file):
        Like mclasen says: "well, thats the way errno works...,
        save it or loose it".  Save errno.

svn path=/trunk/; revision=7565
ChangeLog
glib/giounix.c