summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-cdr/gnomebaker/files/gnomebaker-0.6.2-fix_fstab_parsing.patch')
-rw-r--r--app-cdr/gnomebaker/files/gnomebaker-0.6.2-fix_fstab_parsing.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/app-cdr/gnomebaker/files/gnomebaker-0.6.2-fix_fstab_parsing.patch b/app-cdr/gnomebaker/files/gnomebaker-0.6.2-fix_fstab_parsing.patch
deleted file mode 100644
index 98c404f89bf1..000000000000
--- a/app-cdr/gnomebaker/files/gnomebaker-0.6.2-fix_fstab_parsing.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -urNad gnomebaker-0.6.2~/src/devices.c gnomebaker-0.6.2/src/devices.c
---- gnomebaker-0.6.2~/src/devices.c 2007-09-16 13:36:33.000000000 -0300
-+++ gnomebaker-0.6.2/src/devices.c 2007-10-23 17:30:38.000000000 -0200
-@@ -111,7 +111,10 @@
- g_strstrip(*line);
- if((*line)[0] != '#') /* ignore commented out lines */
- {
-- gchar node[64], mount[64];
-+ gchar *node, *mount;
-+ int line_size = strlen(*line);
-+ node = g_new0(gchar, line_size);
-+ mount = g_new0(gchar, line_size);
- if(sscanf(*line, "%s\t%s", node, mount) == 2)
- {
- GB_TRACE("devices_add_device - node [%s] mount [%s]\n", node, mount);
-@@ -134,8 +137,14 @@
- }
-
- if(mount_point != NULL)
-+ {
-+ g_free(node);
-+ g_free(mount);
- break;
-+ }
- }
-+ g_free(node);
-+ g_free(mount);
- }
- ++line;
- }