Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU Path: utzoo!watmath!clyde!cbosgd!ucbvax!brown.CSNET!mjn From: mjn@brown.CSNET ("Michael J. Natkin") Newsgroups: mod.computers.apollo Subject: Differences between apollo c and standard unix. Message-ID: <8605171449.AA22366@mailhost.CS.Brown.CSNet> Date: Sat, 17-May-86 10:49:04 EDT Article-I.D.: mailhost.8605171449.AA22366 Posted: Sat May 17 10:49:04 1986 Date-Received: Mon, 19-May-86 05:24:37 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 19 Approved: apollo@yale-comix.arpa 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