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

tkoenig at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Jul 9 15:06:00 GMT 2005


------- Additional Comments From tkoenig at gcc dot gnu dot org  2005-07-09 14:39 -------
(In reply to comment #8)

> 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.

If ftruncate() does undefined things on special files, we shouldn't
rely on it doing the right thing.

-- 


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



More information about the Gcc-bugs mailing list