diff options
Diffstat (limited to 'devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-resolve.c')
-rw-r--r-- | devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-resolve.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-resolve.c b/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-resolve.c index c58be91fa94b..6e3660c845b0 100644 --- a/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-resolve.c +++ b/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-resolve.c @@ -1,13 +1,15 @@ ---- libgnomevfs/gnome-vfs-resolve.c.orig Sat Jul 31 17:52:23 2004 -+++ libgnomevfs/gnome-vfs-resolve.c Sat Jul 31 17:52:45 2004 -@@ -171,8 +171,10 @@ +--- libgnomevfs/gnome-vfs-resolve.c.orig Tue Apr 19 07:54:52 2005 ++++ libgnomevfs/gnome-vfs-resolve.c Sun May 22 23:25:22 2005 +@@ -171,10 +171,12 @@ _gnome_vfs_result_from_gai_error (int er switch (error) { case EAI_NONAME: return GNOME_VFS_ERROR_HOST_NOT_FOUND; -+#if defined(EAI_ADDRFAMILY) && defined(EAI_NODATA) ++#ifdef EAI_NODATA + #ifdef EAI_ADDRFAMILY case EAI_ADDRFAMILY: + #endif case EAI_NODATA: return GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS; +#endif + #ifdef EAI_SYSTEM case EAI_SYSTEM: return gnome_vfs_result_from_errno (); - case EAI_FAIL: - case EAI_AGAIN: return GNOME_VFS_ERROR_NAMESERVER; + #endif |