Date: Sat, 12 Feb 2005 22:44:51 +0000 (UTC) From: Tim Kientzle <kientzle@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libarchive archive_read_open_file.c archive_write_open_file.c Message-ID: <200502122244.j1CMipWZ032285@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kientzle 2005-02-12 22:44:51 UTC
FreeBSD src repository
Modified files:
lib/libarchive archive_read_open_file.c
archive_write_open_file.c
Log:
Flush input when reading from pipe to avoid "broken pipe" warnings.
For example, when using 'gunzip | tar' to decompress.
Also, fix some style issues (write null character as '\0').
Thanks to: Jaakko Heinonen
Revision Changes Path
1.7 +31 -6 src/lib/libarchive/archive_read_open_file.c
1.9 +4 -4 src/lib/libarchive/archive_write_open_file.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502122244.j1CMipWZ032285>
