diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-03-02 02:02:37 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-03-02 02:02:37 +0800 |
commit | a2f4affeafa084a3f8804b83c1e0b9b7c6d0826a (patch) | |
tree | df7c904326cb4f7e69af694a5a74808ea4ef6d76 /deskutils | |
parent | 73e9b0aa3518f203f6fda25b5da91a5673b92f9e (diff) | |
download | marcuscom-ports-a2f4affeafa084a3f8804b83c1e0b9b7c6d0826a.tar marcuscom-ports-a2f4affeafa084a3f8804b83c1e0b9b7c6d0826a.tar.gz marcuscom-ports-a2f4affeafa084a3f8804b83c1e0b9b7c6d0826a.tar.bz2 marcuscom-ports-a2f4affeafa084a3f8804b83c1e0b9b7c6d0826a.tar.lz marcuscom-ports-a2f4affeafa084a3f8804b83c1e0b9b7c6d0826a.tar.xz marcuscom-ports-a2f4affeafa084a3f8804b83c1e0b9b7c6d0826a.tar.zst marcuscom-ports-a2f4affeafa084a3f8804b83c1e0b9b7c6d0826a.zip |
This hunk is no longer needed with the new gnome-vfs.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3777 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/gnome-utils/files/patch-logview_logrtns.c | 11 | ||||
-rw-r--r-- | deskutils/gnomeutils2/files/patch-logview_logrtns.c | 11 |
2 files changed, 0 insertions, 22 deletions
diff --git a/deskutils/gnome-utils/files/patch-logview_logrtns.c b/deskutils/gnome-utils/files/patch-logview_logrtns.c index e435cd314..261888d5f 100644 --- a/deskutils/gnome-utils/files/patch-logview_logrtns.c +++ b/deskutils/gnome-utils/files/patch-logview_logrtns.c @@ -1,16 +1,5 @@ --- logview/logrtns.c.orig Sun Feb 20 13:03:24 2005 +++ logview/logrtns.c Sun Feb 20 13:27:46 2005 -@@ -217,6 +217,10 @@ OpenLogFile (char *filename) - return NULL; - } - -+ /* gnome_vfs_read_entire_file() does not return a NUL-terminated buffer. */ -+ buffer = g_realloc (buffer, size+1); -+ buffer[size] = '\0'; -+ - /* Alloc memory for log structure */ - tlog = g_new0 (Log, 1); - if (tlog == NULL) { @@ -230,6 +234,7 @@ OpenLogFile (char *filename) g_free (filename); diff --git a/deskutils/gnomeutils2/files/patch-logview_logrtns.c b/deskutils/gnomeutils2/files/patch-logview_logrtns.c index e435cd314..261888d5f 100644 --- a/deskutils/gnomeutils2/files/patch-logview_logrtns.c +++ b/deskutils/gnomeutils2/files/patch-logview_logrtns.c @@ -1,16 +1,5 @@ --- logview/logrtns.c.orig Sun Feb 20 13:03:24 2005 +++ logview/logrtns.c Sun Feb 20 13:27:46 2005 -@@ -217,6 +217,10 @@ OpenLogFile (char *filename) - return NULL; - } - -+ /* gnome_vfs_read_entire_file() does not return a NUL-terminated buffer. */ -+ buffer = g_realloc (buffer, size+1); -+ buffer[size] = '\0'; -+ - /* Alloc memory for log structure */ - tlog = g_new0 (Log, 1); - if (tlog == NULL) { @@ -230,6 +234,7 @@ OpenLogFile (char *filename) g_free (filename); |