]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r321436: ar: handle partial writes from archive_write_data
authoremaste <emaste@FreeBSD.org>
Mon, 31 Jul 2017 08:19:44 +0000 (08:19 +0000)
committeremaste <emaste@FreeBSD.org>
Mon, 31 Jul 2017 08:19:44 +0000 (08:19 +0000)
commit258c375b290682e514751928336d1f15c41f5078
treee4bcbb95e1ecc80c4cf95aaaf873b9abe0f783ea
parentb4b44bfbb930c9e460f9b6334691071d0b18f2ef
MFC r321436: ar: handle partial writes from archive_write_data

libarchive may limit a single archive_write_data call to handling
0x7fffffff bytes. Add a loop to handle partial writes.

Sponsored by: The FreeBSD Foundation
usr.bin/ar/write.c