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


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