summaryrefslogtreecommitdiffstats
path: root/devel/desktop-file-utils/files/patch-src::update-desktop-database.c
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-09-21 13:25:05 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-09-21 13:25:05 +0800
commit9b3cf40e60f6932a5cc7e06ff62452e59400c209 (patch)
tree2e3b862bf001673d4f072f157e562bf4252878e7 /devel/desktop-file-utils/files/patch-src::update-desktop-database.c
parent9c9ef54233cf9d47c5555ad77ba1d402f44b5da0 (diff)
downloadmarcuscom-ports-9b3cf40e60f6932a5cc7e06ff62452e59400c209.tar
marcuscom-ports-9b3cf40e60f6932a5cc7e06ff62452e59400c209.tar.gz
marcuscom-ports-9b3cf40e60f6932a5cc7e06ff62452e59400c209.tar.bz2
marcuscom-ports-9b3cf40e60f6932a5cc7e06ff62452e59400c209.tar.lz
marcuscom-ports-9b3cf40e60f6932a5cc7e06ff62452e59400c209.tar.xz
marcuscom-ports-9b3cf40e60f6932a5cc7e06ff62452e59400c209.tar.zst
marcuscom-ports-9b3cf40e60f6932a5cc7e06ff62452e59400c209.zip
Add desktop-file-utils, and update to 0.8.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2884 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/desktop-file-utils/files/patch-src::update-desktop-database.c')
-rw-r--r--devel/desktop-file-utils/files/patch-src::update-desktop-database.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/desktop-file-utils/files/patch-src::update-desktop-database.c b/devel/desktop-file-utils/files/patch-src::update-desktop-database.c
new file mode 100644
index 000000000..68de9906d
--- /dev/null
+++ b/devel/desktop-file-utils/files/patch-src::update-desktop-database.c
@@ -0,0 +1,11 @@
+--- src/update-desktop-database.c.orig Fri Aug 6 17:36:29 2004
++++ src/update-desktop-database.c Fri Aug 6 17:35:41 2004
+@@ -381,7 +381,7 @@
+
+ for (i = 0; data_dirs[i] != NULL; i++);
+
+- args = g_new (char *, i + 1);
++ args = g_new0 (char *, i + 1);
+
+ for (i = 0; data_dirs[i] != NULL; i++)
+ args[i] = g_build_filename (data_dirs[i], "applications", NULL);