Red Hat Bugzilla – Bug 74010
binhex uses invalid file header
Last modified: 2013-07-02 18:57:21 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.0.0-10; Linux)
Description of problem:
The header of output files does not match the spec (found at http://www.lazerware.com/formats/Specs/BinHex_Specs.pdf), causing decoding problems with current versions of Stuffit.
diff -Naur macutils/binhex/dofile.c macutils-patched/binhex/dofile.c
--- macutils/binhex/dofile.c Sat Oct 2 20:16:00 1993
+++ macutils-patched/binhex/dofile.c Fri Sep 13 18:06:31 2002
@@ -25,8 +25,7 @@
- (void)printf("(This file must be converted; you knew that already.)\n");
+ (void)printf("(This file must be converted with BinHex 4.0)\n");
pos_ptr = 1;
state = 0;
rep_char = -1;
Version-Release number of selected component (if applicable):
Steps to Reproduce:
thanks for the patch. From various sources
(http://www.graphcomp.com/info/rfc/rfc1741.html) I read that the
correct header of binhex should really be as noticed in the patch.
I'll update it and make it available in rawhide.