[Debburn-devel] [PATCH 1/1] Fix genisoimage -root option inserts unwanted directory into ISO directory structure
Nikola Pajkovsky
npajkovs at redhat.com
Tue Aug 11 12:58:15 UTC 2009
bug: https://bugzilla.redhat.com/show_bug.cgi?id=508449
--- cdrkit-1.1.9/genisoimage/genisoimage.c 2009-08-11
13:45:42.491887853 +0200
+++ cdrkit-1.1.9-master/genisoimage/genisoimage.c 2009-08-11
14:54:06.355889864 +0200
@@ -3117,8 +3117,10 @@ if (check_session == 0)
if (reloc_root != NULL) {
strcpy(graft_point, reloc_root);
len = strlen(graft_point);
- if (graft_point[len] != '/')
+ if (graft_point[len] != '/'){
graft_point[len++] = '/';
+ graft_point[len++] = '\0';
+ }
} else {
len = 0;
}
More information about the Debburn-devel
mailing list