Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!cbmvax!grr From: grr@cbmvax.commodore.com (George Robbins) Newsgroups: comp.unix.ultrix Subject: Re: News 2.11.19 on Ultrix 4.0??? Message-ID: <14367@cbmvax.commodore.com> Date: 12 Sep 90 02:19:23 GMT References: <421@ucunix.SAN.UC.EDU> Reply-To: grr@cbmvax.commodore.com (George Robbins) Organization: Commodore, West Chester, PA Lines: 17 In article <421@ucunix.SAN.UC.EDU> rainwatr@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@cbmvax.commodore.com Commodore, Engineering Department phone: 215-431-9349 (only by moonlite)