]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r321436: ar: handle partial writes from archive_write_data
authoremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 31 Jul 2017 09:28:43 +0000 (09:28 +0000)
committeremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 31 Jul 2017 09:28:43 +0000 (09:28 +0000)
commit5af6abeb5419cbfe0994c4f2c0f25e44e2920733
treeb092f565ffe940b4fd70b983c3c34e2bf55e8f3a
parenta18322ceeb983ec38ea0f6be04087335264d8374
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

git-svn-id: svn://svn.freebsd.org/base/stable/10@321775 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/ar/write.c