This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: bug fc003
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Walt Brainerd <walt at fortran dot com>
- Cc: Gfortran <fortran at gcc dot gnu dot org>
- Date: Sun, 27 Mar 2005 13:49:59 -0800
- Subject: Re: bug fc003
- References: <4246D6CD.90202@fortran.com>
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