public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/45723]  New: opening /dev/null for appending writes
@ 2010-09-18 18:34 Joost dot VandeVondele at pci dot uzh dot ch
  2010-09-18 18:35 ` [Bug libfortran/45723] " Joost dot VandeVondele at pci dot uzh dot ch
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Joost dot VandeVondele at pci dot uzh dot ch @ 2010-09-18 18:34 UTC (permalink / raw)
  To: gcc-bugs

I'm wondering if the following open statement should really fail. I have no
strong opinion, but it would be convenient if it 'just' worked, like you can
open an non-existing file and 'append'.

I guess it is related to the fact that /dev/null can't be seeked.

> cat test.f90
 OPEN(UNIT=7,FILE="/dev/null",FORM="FORMATTED",POSITION="APPEND",IOSTAT=istat)
 IF (istat.NE.0) STOP 1
 END


-- 
           Summary: opening /dev/null for appending writes
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Joost dot VandeVondele at pci dot uzh dot ch


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


^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <bug-45723-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2011-11-07 14:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-18 18:34 [Bug libfortran/45723] New: opening /dev/null for appending writes Joost dot VandeVondele at pci dot uzh dot ch
2010-09-18 18:35 ` [Bug libfortran/45723] " Joost dot VandeVondele at pci dot uzh dot ch
2010-09-19 20:01 ` jvdelisle at gcc dot gnu dot org
2010-09-20  4:46 ` jvdelisle at gcc dot gnu dot org
2010-09-20  6:30 ` Joost dot VandeVondele at pci dot uzh dot ch
2010-09-22  3:11 ` jvdelisle at gcc dot gnu dot org
2010-09-22 11:31 ` Joost dot VandeVondele at pci dot uzh dot ch
2010-09-22 15:07 ` jvdelisle at gcc dot gnu dot org
     [not found] <bug-45723-4@http.gcc.gnu.org/bugzilla/>
2011-11-07 14:33 ` jb at gcc dot gnu.org
2011-11-07 14:37 ` jb at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).