mirror of
https://git.savannah.gnu.org/git/tar.git
synced 2026-09-21 07:34:13 +00:00
Use full-read instead of safe-read
This helps handle archiving on certain filesystems where read() returns less bytes than requested when reading from a regular file. References: https://savannah.gnu.org/bugs/index.php?64426 https://lists.gnu.org/archive/html/bug-tar/2021-07/msg00001.html * gnulib.modules: Add full-read. * src/common.h: Include full-read.h * src/misc.c: Use full_read. * src/sparse.c: Likewise. * src/update.c: Likewise.
This commit is contained in:
+1
-1
@@ -79,7 +79,7 @@ readlinkat
|
||||
renameat
|
||||
root-uid
|
||||
rpmatch
|
||||
safe-read
|
||||
full-read
|
||||
savedir
|
||||
selinux-at
|
||||
setenv
|
||||
|
||||
Reference in New Issue
Block a user