]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - tar/patches/tar-1.22-atime-rofs.patch
Move all packages to root.
[people/arne_f/ipfire-3.x.git] / tar / patches / tar-1.22-atime-rofs.patch
CommitLineData
bd523de6
MT
1diff -urNp tar-1.22-orig/src/create.c tar-1.22/src/create.c
2--- tar-1.22-orig/src/create.c 2009-05-15 10:50:38.000000000 +0200
3+++ tar-1.22/src/create.c 2009-05-15 10:51:52.000000000 +0200
d84a4f26 4@@ -1827,7 +1827,8 @@ dump_file0 (struct tar_stat_info *st, co
bd523de6
MT
5 }
6 else if (atime_preserve_option == replace_atime_preserve
d84a4f26 7 && fd && (is_dir || original_size != 0)
bd523de6
MT
8- && set_file_atime (fd, parentfd, name, st->atime) != 0)
9+ && set_file_atime (fd, parentfd, name, st->atime) != 0
10+ && errno != EROFS )
11 utime_error (p);
12 }
13