A totally empty file is not valid try the following test:-
touch empty
tar cvzf test.tar.gz --files-from empty
tar tvzf test.tar.gz tar: Unrecognized archive format: Inappropriate file type or format
tar --version
bsdtar 1.2.53 - libarchive 1.2.53
gtar tvzf test.tar.gz
gtar --version
tar (GNU tar) 1.15.1

Tested on: FreeBSD 6.2-RELEASE-p9

   Regards
   Steve

----- Original Message ----- From: "Chuck Swiger" <[EMAIL PROTECTED]>

I can't seem to produce this on a 6.3 (prerelease, built mid December 2007) system:

1% touch empty.tar.gz
2% tar ztf empty.tar.gz
3% gtar ztf empty.tar.gz
gzip: (stdin): unexpected end of file
gtar: Child returned status 1
gtar: Error exit delayed from previous errors

4% tar --version
bsdtar 1.9.3 - libarchive 1.9.3
5% gtar --version
tar (GNU tar) 1.18

Regards,
--
-Chuck



================================================
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 +44 845 868 1337
or return the E.mail to [EMAIL PROTECTED]

_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to