home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 9 Archive
/
09-Archive.zip
/
UnzpHist.zip
/
History.20h
< prev
next >
Wrap
Text File
|
1990-04-13
|
3KB
|
88 lines
************************************
* 13 Apr 90 v2.0h
General synopsis of changes from v2.0g to 2.0h:
From Bill Davidsen
(davidsen@crdos1.crd.GE.COM -or- uunet!crdgw1!crdos1!davidsen)
Fixed Makefile up.
Also, the inclusion of types.h for O_BINARY is wrong... this is DOS
stuff, not needed in UNIX. I put #ifndef UNIX around it to keep it from
causing trouble. All of the code which uses it is also ifndef'd, so this
can't break anything.
[Looks like it's MTS stuff also.]
Removed a duplicate define.
Fixed the -a switch:
As implemented it totally breaks C programs being unzipped from DOS to
UNIX. The option changes the return to a blank instead of deleting it.
Since C requires that continuation be noted with a \ *as the last
character on a line* this breaks the program.
Some editors don't strip or ignore trailing blanks, and when
reformatting paragraphs this results in two blanks between words, or
even the lines not being joined.
In short, this is a hack which can badly mangle the files on which
it's used. I will look to see if the logic will support simply deleting
the returns. Proper logic should be to delete a return only if it is
followed by a newline, since any other logic breaks embedded returns
used for overstrike.
...
Well, it turned out not to be too hard to fix the -a option to do the
right thing and simply remove the offending returns. I didn't look too
closely, but I'm not sure this ever worked, since the test for return
was made after the character had been translated into EBCDIC. Perhaps
the table lookup turned the return into a space.
After testing on sun, convex, encore, stellar, and xenix, here are the
final diffs I had to make to get 20g working. Would someone please test
them on a EBCDIC machine?
[Diffs were removed, but they affected:
Makefile:
unzip.c:
ascebc.c:
]
Still doesn't seem to work on 64 bit machines.
*******************
And from Forrest Gehrke, for his VAX SysV system:
Ok, here's the story for VAX SysV:
SysV chokes on an #include David added, to wit: [NOT me!]
#include <sys/file.h> // v2.0g Chitra says MTS needs this for O_BINARY //
So, that line will have to be handled as an #ifdef MTS conditional
and a Makefile rule change added to have that compiler conditionally
include that file.
[We've made it an #ifdef MTS.
However, I'm waiting for an authentic MTS hacker to produce and authenticate
the requirement with a new Makefile.
]
As to the Makefile, I have found that the recipe provided
for "encore" does the job. I have added an identical
layout with the exception of a "system" label called
vaxsysV
A copy of that Makefile is included herewith: [Eaten in the mail]
*********************
Above comments consolidated from a number of Info-ZIP messages in prep for
the v2.0h release.
David Kirschbaum
kirsch@usasoc.soc.mil, 13 Apr 90