Date: Thu, 7 May 2009 23:01:03 +0000 (UTC) From: Tim Kientzle <kientzle@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libarchive archive_read_open_filename.c Message-ID: <200905072301.n47N1CJc006931@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kientzle 2009-05-07 23:01:03 UTC FreeBSD src repository Modified files: lib/libarchive archive_read_open_filename.c Log: SVN rev 191904 on 2009-05-07 23:01:03Z by kientzle Partially revert r191171, which went too far in trying to eliminate some duplicated code. In particular, archive_read_open_filename() has different close handling than archive_read_open_fd(), so delegating the former to the latter in the degenerate case (a NULL filename is treated as stdin) broke reading from pipelines. In particular, this fixes occasional port failures that were seen when using "gunzip | tar" pipelines under /bin/csh. Thanks to Alexey Shuvaev for reporting this failure and patiently helping me to track down the cause. Revision Changes Path 1.25 +49 -20 src/lib/libarchive/archive_read_open_filename.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905072301.n47N1CJc006931>