This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/21593] FAIL: gfortran.dg/dev_null.f90


------- Additional Comments From sgk at troutmask dot apl dot washington dot edu  2005-07-09 15:28 -------
Subject: Re:  FAIL: gfortran.dg/dev_null.f90

On Sat, Jul 09, 2005 at 02:39:34PM -0000, tkoenig at gcc dot gnu dot org wrote:
> 
> > Andrew, is this sufficient to close this PR?  The behavior of
> > ftruncate() on /dev/null appears to be system dependent.
> 
> Being able to read back from /dev/null is still a bug, no matter
> what ftruncate() does.
> 

It's system dependent in that reading or writing /dev/null
always succeeds (at least on *BSD).  You can't check the
return value or errno to see if there is some failure. 



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21593


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]