Cope with EEXIST == ENOTEMPTY. Reported by Nicolas Joseph

* gioerror.c (g_io_error_from_errno): Cope with EEXIST == ENOTEMPTY.
        Reported by Nicolas Joseph


svn path=/trunk/; revision=7859
This commit is contained in:
Matthias Clasen 2009-02-12 01:52:17 +00:00
parent 9bd1712204
commit bbf0530f24
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2009-02-11 Matthias Clasen <mclasen@redhat.com>
Bug 541225 Can't compile gio on AIX : duplicate case value in
gioerror.c
* gioerror.c (g_io_error_from_errno): Cope with EEXIST == ENOTEMPTY.
Reported by Nicolas Joseph
2009-02-04 Alexander Larsson <alexl@redhat.com>
Bug 566747 - URIs opened with firefox %u load as local files

View File

@ -138,7 +138,7 @@ g_io_error_from_errno (gint err_no)
break;
#endif
#ifdef ENOTEMPTY
#if defined(ENOTEMPTY) && (!defined (EEXIST) || (ENOTEMPTY != EEXIST))
case ENOTEMPTY:
return G_IO_ERROR_NOT_EMPTY;
break;