3baa22c4fd
removing them afterwards - removed bogus warning for "." and ".."
22 lines
945 B
Diff
22 lines
945 B
Diff
--- 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 */
|
|
|