mjn@brown.CSNET ("Michael J. Natkin") (05/17/86)
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