Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!umd5!brl-adm!cmcl2!phri!dasys1!samperi From: samperi@dasys1.UUCP (Dominick Samperi) Newsgroups: comp.unix.xenix Subject: compress and binary files? Message-ID: <2384@dasys1.UUCP> Date: 28 Dec 87 01:57:52 GMT Organization: The Big Electric Cat, NYC, NY Lines: 13 Keywords: compress,binary,text I've been using compress for Microport's System V/AT for quite some time without any problems, but today I learned that it can fail when an attempt is made to compress a cpio (or tar) archive that contains a binary file. I tried to compress a cpio archive that contained a core file near the end, and everything was fine until the core file was encountered, at which point there was a memory fault at the statement containing the expression htabof(i) = fcode. Is it illegal to use compress on binary files, or are there any similar restrictions? If not, does anybody know how to fix this problem? Thanks. -- Dominick Samperi, Manhattan College, New York, NY ...!ihnp4!cmcl2!manhat!samperi ...!ihnp4!cmcl2!phri!dasys1!samperi