|
|
@ -1,6 +1,6 @@ |
|
|
|
--- a/mkfs.jffs2.c
|
|
|
|
--- a/mkfs.jffs2.c
|
|
|
|
+++ b/mkfs.jffs2.c
|
|
|
|
+++ b/mkfs.jffs2.c
|
|
|
|
@@ -471,7 +471,7 @@ static int interpret_table_entry(struct
|
|
|
|
@@ -468,7 +468,7 @@ static int interpret_table_entry(struct
|
|
|
|
if (entry) {
|
|
|
|
if (entry) {
|
|
|
|
/* Check the type */
|
|
|
|
/* Check the type */
|
|
|
|
if ((mode & S_IFMT) != (entry->sb.st_mode & S_IFMT)) {
|
|
|
|
if ((mode & S_IFMT) != (entry->sb.st_mode & S_IFMT)) {
|
|
|
@ -9,7 +9,7 @@ |
|
|
|
free(name);
|
|
|
|
free(name);
|
|
|
|
free(hostpath);
|
|
|
|
free(hostpath);
|
|
|
|
return 1;
|
|
|
|
return 1;
|
|
|
|
@@ -487,7 +487,7 @@ static int interpret_table_entry(struct
|
|
|
|
@@ -484,7 +484,7 @@ static int interpret_table_entry(struct
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
if (type == 'f' || type == 'l') {
|
|
|
|
if (type == 'f' || type == 'l') {
|
|
|
|