123456789101112131415161718192021222324252627282930 |
- --- e2fsprogs-1.42.4.orig/debugfs/dump.c 2012-05-29 03:29:43.000000000 +0200
- +++ e2fsprogs-1.42.4/debugfs/dump.c 2012-07-26 18:48:09.000000000 +0200
- @@ -22,7 +22,6 @@
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <fcntl.h>
- -#include <utime.h>
- #ifdef HAVE_GETOPT_H
- #include <getopt.h>
- #else
- @@ -70,7 +69,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)
- @@ -93,11 +91,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,
|