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