diff options
Diffstat (limited to 'devel/gnomevfs2/files')
-rw-r--r-- | devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-resolve.c | 22 | ||||
-rw-r--r-- | devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-utils.c | 12 |
2 files changed, 17 insertions, 17 deletions
diff --git a/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-resolve.c b/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-resolve.c index 2a5088a69..c58be91fa 100644 --- a/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-resolve.c +++ b/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-resolve.c @@ -1,13 +1,13 @@ ---- libgnomevfs/gnome-vfs-resolve.c.orig Tue Jul 20 14:39:26 2004 -+++ libgnomevfs/gnome-vfs-resolve.c Thu Jul 22 16:38:35 2004 -@@ -133,8 +133,10 @@ - switch (error) { - - case EAI_NONAME: return GNOME_VFS_ERROR_HOST_NOT_FOUND; +--- 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 @@ + switch (error) { + + case EAI_NONAME: return GNOME_VFS_ERROR_HOST_NOT_FOUND; +#if defined(EAI_ADDRFAMILY) && defined(EAI_NODATA) - case EAI_ADDRFAMILY: - case EAI_NODATA: return GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS; + case EAI_ADDRFAMILY: + case EAI_NODATA: return GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS; +#endif - case EAI_SYSTEM: return gnome_vfs_result_from_errno (); - case EAI_FAIL: - case EAI_AGAIN: return GNOME_VFS_ERROR_NAMESERVER; + case EAI_SYSTEM: return gnome_vfs_result_from_errno (); + case EAI_FAIL: + case EAI_AGAIN: return GNOME_VFS_ERROR_NAMESERVER; diff --git a/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-utils.c b/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-utils.c index a168c6acd..303a83bc6 100644 --- a/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-utils.c +++ b/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-utils.c @@ -1,5 +1,5 @@ ---- libgnomevfs/gnome-vfs-utils.c.orig Fri Apr 16 06:43:05 2004 -+++ libgnomevfs/gnome-vfs-utils.c Mon Apr 19 15:41:47 2004 +--- libgnomevfs/gnome-vfs-utils.c.orig Sat Jul 31 17:54:38 2004 ++++ libgnomevfs/gnome-vfs-utils.c Sat Jul 31 17:56:05 2004 @@ -797,7 +797,9 @@ #if HAVE_STATVFS @@ -10,16 +10,16 @@ #if STATFS_ARGS == 2 statfs_result = statfs (unescaped_path, &statfs_buffer); #elif STATFS_ARGS == 4 -@@ -838,7 +840,7 @@ - } +@@ -839,7 +841,7 @@ + #else + g_free (unescaped_path); #endif - - block_size = statfs_buffer.f_bsize; + block_size = statfs_buffer.statfs_bsize; free_blocks = statfs_buffer.f_bavail; *size = block_size * free_blocks; -@@ -866,7 +868,7 @@ +@@ -867,7 +869,7 @@ paths = g_strsplit (gnome_var, ":", 0); for (temp_paths = paths; *temp_paths != NULL; temp_paths++) { |