This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/21593] FAIL: gfortran.dg/dev_null.f90
- From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jun 2005 16:52:25 -0000
- Subject: [Bug libfortran/21593] FAIL: gfortran.dg/dev_null.f90
- References: <20050515210432.21593.danglin@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca 2005-06-18 16:52 -------
Subject: Re: FAIL: gfortran.dg/dev_null.f90
> The redhat system that I checked, identifies /dev/null as "a
> special file" in null(4). The ftruncate man page specifically
> states the behavior for "regular files". So redhat has wiggle
> room with its use of errno.
The HP-UX 11.11 manpage says for ftruncate:
The effect of ftruncate() and truncate() on other types of files is
unspecified.
The return value from the ftruncate call in the test program is 0.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21593