home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / apple2 / 25456 < prev    next >
Encoding:
Internet Message Format  |  1992-12-13  |  2.0 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.uoregon.edu!cie.uoregon.edu!nparker
  2. From: nparker@cie.uoregon.edu (Neil Parker)
  3. Newsgroups: comp.sys.apple2
  4. Subject: bsc (was Re: MODifier)
  5. Date: 13 Dec 1992 09:20:05 GMT
  6. Organization: The Universal Society for the Prevention of Reality
  7. Lines: 33
  8. Message-ID: <1gev85INNl0e@pith.uoregon.edu>
  9. References: <ZesoVB1w165w@cyberden.uucp> <Bz68vF.L6H@news.iastate.edu> <1gedv4INNo42@gap.caltech.edu>
  10. NNTP-Posting-Host: cie.uoregon.edu
  11.  
  12. In article <1gedv4INNo42@gap.caltech.edu> toddpw@cco.caltech.edu (Todd P.
  13. Whitesel) writes:
  14. >irsman@iastate.edu (That Ian Guy) writes:
  15. >
  16. >>BSC is a shell utility by Neil Parker.  Due to a conflict with the libraries
  17. >>it doesn't compile under DEC RISC Ultrix 4.1 or 4.2.  Neil will hopefully fix
  18. >>this (he's looking into it).  
  19. >
  20. >Has he tried removing the "b" mode letter from fopen() ? Ultrix chokes on it.
  21.  
  22. The error message That Ian Guy sent me seems to indicate there's a conflict
  23. with the access() system call, not the "b" in the fopen().  In fact, if
  24. you're getting the "b" at all under UNIX, then you've got the wrong options
  25. turned on in the Makefile.  The "b" should only be appearing under VMS or
  26. if the -DFOPEN_NEEDS_B flag appears in the Makefile (which should NEVER be
  27. the case under UNIX)...
  28.  
  29. ...Ack.  Another possibility just occurred to me.  Since Ultrix, like VMS,
  30. comes from DEC...er...does somebody out there know whether the Ultrix C
  31. preprocessor defines the symbol "vms"?  If so, is there some other symbol
  32. (like "ULTRIX" or "ultrix" or some such thing) that it also defines, so I
  33. can check for Ultrix and explicitly #undef vms?
  34.  
  35. (*sigh*  If only I had an Ultrix machine around here somewhere to check
  36. this stuff on...)
  37.  
  38.               - Neil Parker
  39.  
  40. P.S.  Moral:  UNIX isn't nearly as portable as it pretends to be.
  41. --
  42. Neil Parker                 No cute ASCII art...no cute quote...no cute
  43. nparker@cie.uoregon.edu     disclaimer...no deposit, no return...
  44. parker@corona.uoregon.edu   (This space intentionally left blank:           )
  45.