2009-05-15 11:31:43 +00:00
|
|
|
diff -urNp tar-1.22-orig/src/create.c tar-1.22/src/create.c
|
|
|
|
--- tar-1.22-orig/src/create.c 2009-05-15 10:50:38.000000000 +0200
|
|
|
|
+++ tar-1.22/src/create.c 2009-05-15 10:51:52.000000000 +0200
|
|
|
|
@@ -1691,7 +1691,8 @@ dump_file0 (struct tar_stat_info *st, co
|
2010-03-12 13:55:48 +00:00
|
|
|
set_exit_status (TAREXIT_DIFFERS);
|
2009-05-15 11:31:43 +00:00
|
|
|
}
|
|
|
|
else if (atime_preserve_option == replace_atime_preserve
|
2010-10-26 13:19:12 +00:00
|
|
|
- && set_file_atime (fd, parentfd, name, st->atime) != 0)
|
|
|
|
+ && set_file_atime (fd, parentfd, name, st->atime) != 0
|
2009-05-15 11:31:43 +00:00
|
|
|
+ && errno != EROFS )
|
|
|
|
utime_error (p);
|
|
|
|
}
|
|
|
|
|