🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: mod.computers.apollo
1 messages
1 total messages Started by "Michael J. Natkin" Sat, 17 May 1986 14:49
Differences between apollo c and standard unix.
#143
Author: "Michael J. Natkin"
Date: Sat, 17 May 1986 14:49
19 lines
1757 bytes
Has anyone compiled a good list of the incompatibilities between 4.2
Unix and Apollo c? At Brown U we develop a lot of libraries on a vax
and port them to the apollo ring. No one likes to spend a lot of time
maintaining the source on the apollos when students write code using
our packages that die on the apollos even though they work fine on the
vax. Yes, they all lint.  My favorite incompatibility: On the apollos,
the tolower and toupper macros are defined to only convert a character
from one case to another if it is in fact in the wrong case. In 4.2,
the macros just subtract the appropriate amount and assume you know
what you are doing. Imagine my suprise when i sent a large program from
the apollo to the vax and the parsing stopped working. I think this
is a case of apollo trying to be "programmer-friendly" when it would be
more appropriate to be compatible (although i am not sure that the K&R
definition doesn't allow apollo's interpretation).

  Life: Michael Natkin
 CSnet: mjn@brown
  ARPA: mjn%brown@csnet-relay
  UUCP: ...!{allegra,decvax,ihnp4}!brunix!mjn
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