From: jacmet at uclibc.org <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/mtd/mtd-utils
Date: Tue, 20 Jan 2009 20:06:37 +0000 (UTC) [thread overview]
Message-ID: <20090120200637.BBC04770AD@busybox.osuosl.org> (raw)
Author: jacmet
Date: 2009-01-20 20:06:36 +0000 (Tue, 20 Jan 2009)
New Revision: 24925
Log:
mtd/mtd-utils: mkfs.jffs2: fix device_table handling
Added:
trunk/buildroot/package/mtd/mtd-utils/mtd-utils-1.1.0-all-mkfs.jffs2-device_table-fix.patch
Changeset:
Added: trunk/buildroot/package/mtd/mtd-utils/mtd-utils-1.1.0-all-mkfs.jffs2-device_table-fix.patch
===================================================================
--- trunk/buildroot/package/mtd/mtd-utils/mtd-utils-1.1.0-all-mkfs.jffs2-device_table-fix.patch (rev 0)
+++ trunk/buildroot/package/mtd/mtd-utils/mtd-utils-1.1.0-all-mkfs.jffs2-device_table-fix.patch 2009-01-20 20:06:36 UTC (rev 24925)
@@ -0,0 +1,23 @@
+mkfs.jffs2.c: fix device_table handling
+
+find_filesystem_entry would ignore device_table entries for existing elements
+if the device type / permissions weren't exactly the same, effectively
+rendering device_table useless.
+---
+ mkfs.jffs2.c | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+Index: mtd-utils-1.1.0/mkfs.jffs2.c
+===================================================================
+--- mtd-utils-1.1.0.orig/mkfs.jffs2.c
++++ mtd-utils-1.1.0/mkfs.jffs2.c
+@@ -246,8 +246,7 @@
+ e = dir->files;
+ }
+ while (e) {
+- /* Only bother to do the expensive strcmp on matching file types */
+- if (type == (e->sb.st_mode & S_IFMT)) {
++ if (1) {
+ if (S_ISDIR(e->sb.st_mode)) {
+ int len = strlen(e->fullname);
+
next reply other threads:[~2009-01-20 20:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-20 20:06 jacmet at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-02-17 14:04 [Buildroot] svn commit: trunk/buildroot/package/mtd/mtd-utils jacmet at uclibc.org
2009-01-20 14:17 jacmet at uclibc.org
2008-09-04 1:39 hamish at uclibc.org
2007-09-27 7:36 ulf at uclibc.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090120200637.BBC04770AD@busybox.osuosl.org \
--to=jacmet@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox