Xref: utzoo comp.sys.ibm.pc:14084 comp.binaries.ibm.pc:814 Path: utzoo!mnetor!uunet!husc6!purdue!i.cc.purdue.edu!afc From: afc@i.cc.purdue.edu (Greg Flint) Newsgroups: comp.sys.ibm.pc,comp.binaries.ibm.pc Subject: Re: Patches to ARC-BSD Message-ID: <2719@i.cc.purdue.edu> Date: 4 Apr 88 20:48:58 GMT Organization: Purdue University Lines: 41 Keywords: ARC arcpack.c if-test reversed Sorry for the non-binary posting to comp.binaries.ibm.pc, but that is where the original article appeared. I believe that an if-test is reversed in arcpack.c. This is the result of a visual inspection of the patch file. I have not attempted any validation of the new ARC-BSD for compression, but I have used it to successfully uncompress PKARC-ed, squashed files that have been posted to the net. In article <5937@swan.ulowell.edu> boneill@hawk.ulowell.edu (SoftXc Coordinator) writes: >Here are the appropriate patches to make the ARC-BSD program >squash-compatible. These patches only apply to the BSD version, not the SYS >diff -c oldarc/arcpack.c newarc/arcpack.c >*** oldarc/arcpack.c Sat Apr 2 15:45:16 1988 >--- newarc/arcpack.c Sat Apr 2 15:47:46 1988 >*************** >--- 180,199 ---- > putc_tst(c,t); > } > else /* else re-crunch */ >! { if(dosquash) >! sqinit_cm(f, t); >! else >! init_cm(f,t); >! if(dosquash) The if-test in the above line should be altered as follows (reverse if test): >! if(!dosquash) ------------------------------------------------------------------------------- Greg Flint Math G-185 (317) 494-1787 UUCP: j.cc.purdue.edu!gdf Purdue Univ. Purdue University ARPA: gdf@j.cc.purdue.edu Computing Ctr. West Lafayette, IN 47907 BITNET: flint@purccvm.bitnet