I had ASCII trouble with Info-zip too. Someone apparently added code to ignore the -a (ascii conversion) option if the input data looks binary. Well, EBCDIC text looked binary to the new code, so the -a option wouldn't work at all on MVS.

That's one downside to #ifdef's - you really need to compile and test your changes on each platform. So a few platforms is no big deal, but dozens? That's just asking for trouble.

John McKown wrote:

​I wonder what the first two are. I was able to port SQLite 3 to z/OS with
_NO_ source changes at all. I just had to figure out the correct
./configure and do the "make". BASH took more effort. The majority was
getting the embedded GNU readline to work on z/OS properly and a few
"ASCII-isms" where the code was dependent on the ASCII binary code points.
I used #if statements to separate out the required z/OS changes which were
Linux incompatible. But I can't say that it was really _difficult_. Other
than due to my own ignorance on how BASH works internally and of advanced C
constructs.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to