Use fs blksize from stat(2)ed file when reading archives.

This commit is contained in:
Juan RP
2013-08-29 14:30:14 +02:00
parent 1bea5725ae
commit 24ff0472dd
6 changed files with 48 additions and 21 deletions

View File

@@ -78,7 +78,7 @@ repodata_flush(struct xbps_handle *xhp, const char *repodir,
}
free(xml);
archive_write_free(ar);
archive_write_finish(ar);
/* Write data to tempfile and rename */
fdatasync(repofd);