]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - tar/patches/tar-1.22-atime-rofs.patch
Move all packages to root.
[people/amarx/ipfire-3.x.git] / tar / patches / tar-1.22-atime-rofs.patch
1 diff -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
4 @@ -1827,7 +1827,8 @@ dump_file0 (struct tar_stat_info *st, co
5 }
6 else if (atime_preserve_option == replace_atime_preserve
7 && fd && (is_dir || original_size != 0)
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