home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.minix
- Path: sparky!uunet!munnari.oz.au!metro!ipso!runxtsa!bde
- From: bde@runx.oz.au (Bruce Evans)
- Subject: Unpacking 1.6.24b/commands.sh.Z
- Message-ID: <1993Jan3.033135.9210@runx.oz.au>
- Organization: RUNX Un*x Timeshare. Sydney, Australia.
- Date: Sun, 3 Jan 93 03:31:35 GMT
- Lines: 24
-
- The commands packaging has a few bugs.
-
- 1. hypenate.c contains some German characters (>= 128) in a comment. This
- confuses unshar into thinking that the file is binary, and the file
- gets truncated. The bash shell unsharred it correctly. I think unshar
- would handle characters >= 128 correctly if the special handling of such
- characters was removed. Character 0 is not handled specially but should
- be.
-
- 2. The leading X is missing in some places in the shar file. This is
- probably a bug in the shar binary used to pack the distribution. My
- binary works OK. I think the recent posting of unshar.c was to allow
- unshar to handle such shar files. unshar _was_ buggy because the
- leading X is optional in most cases. patch apparently doesn't handle
- optional leading X's. I used "patch <commands.cd" to apply the diffs
- (I don't trust installs scripts). This failed on files btoa.c and
- ifdef.c because of missing X's. It works to unshar all the diffs
- and apply them individually or with "cat *.d | patch".
-
- Why is the shar format still being used? It is appropriate for text
- postings, but (compressed non-uuencrufted) tar format works better for
- binary nonpostings.
- --
- Bruce Evans (bde@runx.oz.au)
-