Date: Thu, 8 Dec 2005 17:29:06 -0000 From: "Steven Hartland" <killing@multiplay.co.uk> To: <freebsd-stable@freebsd.org> Subject: bsdtar / libarchive bug? Message-ID: <00c701c5fc1c$e6db4220$b3db87d4@multiplay.co.uk>
next in thread | raw e-mail | index | archive | help
It seems bsdtar can create files it cant read. i.e. it will happily create empty tar.gz files but when it comes to read them the following error is output: tar: Unrecognized archive format: Inappropriate file type or format Having a look at libarchive shows the following code: /* An empty archive is a serious error. */ if (bytes_read == 0) { archive_set_error(a, ARCHIVE_ERRNO_FILE_FORMAT, "Empty input file"); return (ARCHIVE_FATAL); } Which is where I expect the issue is, why would an empty archive be fatal? I can see any reason for this, yes its strange but there's nothing fatal about it imo. Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137 or return the E.mail to postmaster@multiplay.co.uk.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00c701c5fc1c$e6db4220$b3db87d4>