Ticket #43632: cdrtools-3.00-mkisofs.patch
File cdrtools-3.00-mkisofs.patch, 659 bytes (added by galitsyn@…, 11 years ago) |
---|
-
cdrtools-3.00/mkisofs/mkisofs.c
old new 3235 3235 /* 3236 3236 * Remove unwanted "./" & "/" sequences from start... 3237 3237 */ 3238 xpnt = graft_point; 3239 size_t gidx = 0; 3238 3240 do { 3239 xpnt = graft_point;3240 3241 while (xpnt[0] == '.' && xpnt[1] == '/') 3241 3242 xpnt += 2; 3242 3243 while (*xpnt == PATH_SEPARATOR) { 3243 3244 xpnt++; 3244 3245 } 3245 strlcpy(graft_point, xpnt,glen);3246 } while (xpnt > graft_point);3246 } while ((xpnt[0] == '.' || xpnt[0] == '/') && gidx++ < glen); 3247 graft_point = xpnt; 3247 3248 3248 3249 if (node) { 3249 3250 node = escstrcpy(nodename, nlen, ++node);