From 220a96f9926788ed531717f78e44fdf1e7ab3b34 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 30 Dec 2010 22:45:29 +0100 Subject: rework architecture / embedded systems concept Make configuration of new targets cheap. Just add a new file in target/arch/sys-enabled/foo. See other files for syntax. While doing runtime tests with the new infrastructure I've updated a lot of other stuff: - gcc 4.5.2 - uClibc 0.9.32-rc1 (NPTL) - strongswan, php, miredo, parted, util-linux-ng, e2fsprogs I promise, this is the last big fat commit this year ;) --- package/e2fsprogs/patches/patch-debugfs_dump_c | 30 ++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 package/e2fsprogs/patches/patch-debugfs_dump_c (limited to 'package/e2fsprogs/patches/patch-debugfs_dump_c') diff --git a/package/e2fsprogs/patches/patch-debugfs_dump_c b/package/e2fsprogs/patches/patch-debugfs_dump_c new file mode 100644 index 000000000..ad28d3c02 --- /dev/null +++ b/package/e2fsprogs/patches/patch-debugfs_dump_c @@ -0,0 +1,30 @@ +--- e2fsprogs-1.41.14.orig/debugfs/dump.c 2009-08-13 03:39:57.000000000 +0200 ++++ e2fsprogs-1.41.14/debugfs/dump.c 2010-12-25 22:30:02.000000000 +0100 +@@ -19,7 +19,6 @@ + #include + #include + #include +-#include + #ifdef HAVE_GETOPT_H + #include + #else +@@ -67,7 +66,6 @@ static mode_t mode_xlate(__u16 lmode) + static void fix_perms(const char *cmd, const struct ext2_inode *inode, + int fd, const char *name) + { +- struct utimbuf ut; + int i; + + if (fd != -1) +@@ -90,11 +88,6 @@ static void fix_perms(const char *cmd, c + + if (fd != -1) + close(fd); +- +- ut.actime = inode->i_atime; +- ut.modtime = inode->i_mtime; +- if (utime(name, &ut) == -1) +- com_err(cmd, errno, "while setting times of %s", name); + } + + static void dump_file(const char *cmdname, ext2_ino_t ino, int fd, -- cgit v1.2.3