cdrkit/genisoimage-dlength.patch

22 lines
945 B
Diff
Raw Normal View History

--- cdrkit-1.1.6/genisoimage/tree.c.dlength 2007-09-21 08:38:50.000000000 +0200
+++ cdrkit-1.1.6/genisoimage/tree.c 2007-09-21 08:41:23.000000000 +0200
@@ -1596,12 +1596,12 @@ insert_file_entry(struct directory *this
!S_ISFIFO(lstatbuf.st_mode) && !S_ISSOCK(lstatbuf.st_mode) &&
!S_ISLNK(lstatbuf.st_mode) && !S_ISREG(lstatbuf.st_mode) &&
!S_ISDIR(lstatbuf.st_mode)) {
- if ( ! (this_dir == root && strcmp(short_name, "..") == 0)) {
- fprintf(stderr,
- "Unknown file type (%s) %s - ignoring and continuing.\n",
- filetype((int) lstatbuf.st_mode), whole_path);
- return (0);
- }
+ if ( ! (this_dir == root && strcmp(short_name, "..") == 0)) {
+ fprintf(stderr,
+ "Unknown file type (%s) %s - ignoring and continuing.\n",
+ filetype((int) lstatbuf.st_mode), whole_path);
+ }
+ return (0);
}
/* Who knows what trash this is - ignore and continue */