All,
David Gibb's question about the need for this mailing list reminded me
that I would really like to connect from Linux to an IBM/i. Segfaults
in tn5250 have stopped me from doing this for a long time, perhaps
since I dropped 32-bit support during an O/S upgrade.
Digging in tn5250-0.17.4 showed that a couple of functions were
implicitly declared, thus declared to return an int. This truncates
the return value to 32 bits, which is a bad thing for a pointer in a
64-bit environment. I have fixed all implicit declarations, and now
tn5250 (I have not tested the other programs) works so far as I have
used it. So a couple questions ...
(*) Is my patch of interest to anybody? Looking on sourceforge
<
https://sourceforge.net/p/tn5250/patches/>, I see that an open
patch has been unchanged since 2013. Not, mind you, that I can
see how to submit a patch.
(*) I did all my changes with only language-level knowledge, without
understanding what the code is actually doing. So, a code review
and testing of all the applications would be in order. Who wants
to do a review?
(*) `make check` found nothing to do. Am I doing something wrong?
(*) Debian no longer offers tn5250. Why was it withdrawn? Is there
any thought of adding tn5250 back into the debian distribution?
Thank you, all, for your attention.
Terry.