This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: bug fc003


On Sun, Mar 27, 2005 at 08:52:45AM -0700, Walt Brainerd wrote:
> 
> program fc003
> 
> ! Submitted by Walt Brainerd, The Fortran Company
> ! GNU Fortran 95 (GCC 4.1.0 20050322 (experimental))
> ! Windows XP
> 
> ! File closed with status="delete"
> !    is not deleted.
> 
>    character(len=*), parameter :: f="(a)"
>    open(11,file="xxx",status="replace")
>    write(11,f) "x"
>    close(11,status="delete")
>    call system("ls")
> 
> end program fc003

This appears to work correctly on FreeBSD.  I suspect
that it works on any unix-like OS.

-- 
Steve


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