Binary files and XLISP-STAT for the Macintosh PPC
Davide Bionda <[email protected]> Thu, 28 Mar 2002 18:33:34 +0100
| Newsgroups | gmane.lisp.statistics |
|---|---|
| Message-ID | <l03130300b8c9026a3a30@[213.3.73.66]> |
Dear all,
This is a repost of a message I already sent to the list but which has
unfortunately remained unanswered. Since now there seems to be some traffic
on the list, I hope that somebody (Luke Tierney?) can give me an answer.
Last September I posted a message to the list reporting about a problem I
had encountered when reading binary files using XLISP-STAT Release 3.52.16
for the Macintosh PPC.
Steve Majewski came to the conclusion that there was a endianness bug
caused by two commented #define statements located in the file xlisp.h of
the source code distribution. Since the PPC is a big-endian processor,
these two lines must be defined (i.e. uncommented). Uncommenting them
solves the problem.
#define BIGENDIAN /* Define this for correct operation of read-byte and
write-byte in a big-endian system */
#define BIGENDIANFILE /* define this for read-byte and write-byte to
utilize bigendian files. This option kept separate
so that binary files can be transfered between xlisp
systems on different processors */
I am now in the need to use XLISP-STAT to read and write binary files.
Unfortunately I do not own nor do I have access to MetroWerks CodeWarrior
to do it myself. Is there any hope to see this bug fixed in a new release
of XLISP-STAT? Is Luke Tierney still supporting this wonderful XLISP-STAT?
(the last release for the Macintosh dates back to 1999). Any help very much
appreciated.
Thank you very much for your attention.
cheers
Davide