summaryrefslogtreecommitdiffstats
path: root/devel/gnomevfs2
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-02-23 07:06:30 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-02-23 07:06:30 +0800
commita7eeacca61584e34b5d230a08c8fee1443914696 (patch)
treeeba344dd3945149f4f18e61d6f538b56cbf1cdb5 /devel/gnomevfs2
parent52adbaa07fdb9e701dad5405314537027c633572 (diff)
downloadmarcuscom-ports-a7eeacca61584e34b5d230a08c8fee1443914696.tar
marcuscom-ports-a7eeacca61584e34b5d230a08c8fee1443914696.tar.gz
marcuscom-ports-a7eeacca61584e34b5d230a08c8fee1443914696.tar.bz2
marcuscom-ports-a7eeacca61584e34b5d230a08c8fee1443914696.tar.lz
marcuscom-ports-a7eeacca61584e34b5d230a08c8fee1443914696.tar.xz
marcuscom-ports-a7eeacca61584e34b5d230a08c8fee1443914696.tar.zst
marcuscom-ports-a7eeacca61584e34b5d230a08c8fee1443914696.zip
Revert a local patch that crept into my last commit.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3696 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/gnomevfs2')
-rw-r--r--devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-utils.c25
1 files changed, 3 insertions, 22 deletions
diff --git a/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-utils.c b/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-utils.c
index 249ca0811..9788a89f0 100644
--- a/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-utils.c
+++ b/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-utils.c
@@ -1,6 +1,6 @@
---- libgnomevfs/gnome-vfs-utils.c.orig Thu Feb 10 05:00:21 2005
-+++ libgnomevfs/gnome-vfs-utils.c Mon Feb 21 16:32:20 2005
-@@ -880,7 +880,7 @@ gnome_vfs_icon_path_from_filename (const
+--- libgnomevfs/gnome-vfs-utils.c.orig Mon Aug 16 11:11:09 2004
++++ libgnomevfs/gnome-vfs-utils.c Mon Aug 16 11:11:16 2004
+@@ -871,7 +871,7 @@
paths = g_strsplit (gnome_var, ":", 0);
for (temp_paths = paths; *temp_paths != NULL; temp_paths++) {
@@ -9,22 +9,3 @@
if (g_file_test (full_filename, G_FILE_TEST_EXISTS)) {
g_strfreev (paths);
return full_filename;
-@@ -1083,6 +1083,9 @@ gnome_vfs_read_entire_file (const char *
- total_bytes_read += bytes_read;
- } while (result == GNOME_VFS_OK);
-
-+ buffer = g_realloc (buffer, total_bytes_read + 1);
-+ buffer[total_bytes_read] = '\0';
-+
- /* Close the file. */
- result = gnome_vfs_close (handle);
- if (result != GNOME_VFS_OK) {
-@@ -1092,7 +1095,7 @@ gnome_vfs_read_entire_file (const char *
-
- /* Return the file. */
- *file_size = total_bytes_read;
-- *file_contents = g_realloc (buffer, total_bytes_read);
-+ *file_contents = g_realloc (buffer, total_bytes_read + 1);
- return GNOME_VFS_OK;
- }
-