*BSD News Article 78043


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!act.news.telstra.net!psgrain!usenet.eel.ufl.edu!spool.mu.edu!newspump.sol.net!www.nntp.primenet.com!nntp.primenet.com!news.sgi.com!news.msfc.nasa.gov!voskovec.radio.cz!cs.tu-berlin.de!unlisys!news.bb-data.de!news
From: mib@ppe.bb-data.de
Newsgroups: comp.unix.bsd.freebsd.misc,gnu.g++.help
Subject: Re: g++2.7.2 error on freebsd
Date: 11 Sep 1996 07:16:21 +0200
Organization: BB-DATA GmbH, Berlin, Germany
Lines: 14
Sender: mib@LOSIRA
Message-ID: <uloeheimy.fsf@ppe.bb-data.de>
References: <8414360547401@maverick.mcs.anl.gov>
	<50ee1f$dp@anorak.coverform.lan> <50t8s1$lhr@news1.infinet.com>
	<510obp$9m@anorak.coverform.lan>
NNTP-Posting-Host: 10.11.4.39
X-Newsreader: Gnus v5.3/Emacs 19.34
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:27067 gnu.g++.help:13288

brian@awfulhak.demon.co.uk (Brian Somers) writes:
> : :   if( fp = fopen( "x", "w" ), !fp )
> :     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> : ARGHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH! :-)
> 
> Pardon ?

That seems like a comment on that rather baroque coding style. :-) It
is certainly not the most obvious way of saying

        if( !(fp=fopen("x", "w")) )

.