diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-07-21 09:25:30 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-07-21 09:25:30 +0200 |
commit | 2fee20c837e1efc0f67c7b24851e6a4d13717bf0 (patch) | |
tree | f0919f58a2d9ed3d3a3f70cb91fcae2f019995cf /package/mtd/20061007/mtd-20061007-mkfs.jffs2.patch | |
parent | da6f67d8f2177f8c1d7ab7d029227f04a1c68720 (diff) |
mtd: get rid of ancient deprecated versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/mtd/20061007/mtd-20061007-mkfs.jffs2.patch')
-rw-r--r-- | package/mtd/20061007/mtd-20061007-mkfs.jffs2.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/package/mtd/20061007/mtd-20061007-mkfs.jffs2.patch b/package/mtd/20061007/mtd-20061007-mkfs.jffs2.patch deleted file mode 100644 index 3c4d6bad6..000000000 --- a/package/mtd/20061007/mtd-20061007-mkfs.jffs2.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -urN mtd-20061007.orig-0rig/mkfs.jffs2.c mtd-20061007.orig/mkfs.jffs2.c ---- mtd-20061007.orig-0rig/mkfs.jffs2.c 2006-10-07 17:33:37.000000000 +0200 -+++ mtd-20061007.orig/mkfs.jffs2.c 2007-04-09 02:16:06.000000000 +0200 -@@ -240,6 +242,15 @@ - { - struct filesystem_entry *e = dir; - -+ if((strlen(fullname) == 1) && (fullname[0] == '/')) { -+ /* Looking for "root" */ -+ if(e != NULL) { -+ if((strlen(e->fullname) == 1) && (e->fullname[0] == '/')) { -+ return (e); -+ } -+ } -+ } -+ - if (S_ISDIR(dir->sb.st_mode)) { - e = dir->files; - } |