[gfortran] patch for pr 18983 - can't write to /dev/null

Paul Brook paul@codesourcery.com
Fri Jan 14 12:02:00 GMT 2005


On Wednesday 29 December 2004 09:55, Bud Davis wrote:
> the "style police" may request that the code collapses into
> (....  &&  ...) instead of the nested if's; no problem :):)

I prefer the nested if in this case.
Putting function calls with side-effects in [large] conditionals is IMHO a bad 
idea.

> 2004-12-30  Bud Davis  <bdavis9659@comcast.net>
>
>  PR fortran/18983
>  * io/transfer.c (st_write_done): only truncate when it
>  is required.

Ok.

Paul



More information about the Fortran mailing list