News 2.11.19 on Ultrix 4.0???

George Robbins grr at cbmvax.commodore.com
Wed Sep 12 12:19:23 AEST 1990


In article <421 at ucunix.SAN.UC.EDU> rainwatr at ucunix.san.uc.edu (Don Rainwater) writes:
> I can't compile the file rfuncs2.c because it doesn't like
> having fileno(fp) on the lhs of an assignment operator.  (The offending
> lines are 314 and 316 in this file, if you're interested.  314 is
> something like "fileno(fp) = -1;" and 316 is "fileno(fp) = fno;")
> 
> Any help would be greatly appreciated!!!  Am I doing something wrong or
> is there a problem with Ultrix 4.0???  Thanks in advance.

There's nothing wrong with Ultrix in this case, the fileno()= is perversion
that only "works" if fileno() is a macro, which it certainly isn't guaranteed
to be.  I've heard this one before and I think the fix to the source turns
out to be fairly simple. (but don't ask me)
-- 
George Robbins - now working for,     uucp:   {uunet|pyramid|rutgers}!cbmvax!grr
but no way officially representing:   domain: grr at cbmvax.commodore.com
Commodore, Engineering Department     phone:  215-431-9349 (only by moonlite)



More information about the Comp.unix.ultrix mailing list