Thread View: att.sys.unixpc
1 messages
1 total messages
Started by Robert E. Stampfli
Fri, 05 Aug 1988 15:28
unix-pc fix for arc 5.21
Author: Robert E. Stampfli
Date: Fri, 05 Aug 1988 15:28
Date: Fri, 05 Aug 1988 15:28
26 lines
1383 bytes
1383 bytes
For those of you that are trying to get the version of arc 5.21, recently posted by Howard Chu, to run on your unix-pc, I encountered what I believe is a compiler bug. I am running a 7300 with Unix 3.5.1.3. The bug manifests itself in that a function declared as an unsigned char will, if given the opportunity, return a negative number. I got arc to run by doing the following: In the file arccode.c I changed the defn of the argument to the function code() from char c; /* character to encode */ to unsigned char c: /* character to encode */ That's all. Needless to say, this was a bear to find. I have not tried compiling the original arc with gnu-cc, but have on several other flavors of machines with no replication of this bug. I also fixed several other bugs in the process of hunting this one down, but they were either benign or legitimate coding errors that have already been reported to the applicable newsgroups. att!cbnews!res kd8wk@w8cqk Rob Stampfli
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads