www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/10/05/09:35:38

Message-Id: <200110051330.f95DUqQ59236@postino4.int.prima.com.ar>
From: "Orlando P. Hevia" <heviaop AT ciudad DOT com DOT ar>
To: djgpp AT delorie DOT com
Date: Fri, 5 Oct 2001 10:29:29 -0300
MIME-Version: 1.0
Subject: Re: fortran scratch files II
In-reply-to: <3BBD9D0F.CD83A843@is.elta.co.il>
X-mailer: Pegasus Mail for Windows (v3.12b)
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Eli Zaretskii wrote:

> 
> I think you won't see such aborts with DJGPP.  The number of
> possible names is much more than 9, and when they are used
> up, they will be reused.

No, the aborts are not frequent, or very infrequent: a lot 
of chances for file names, and that the program aborts in 
the precise point to no delete the 'scratch' files.

The files are forta52[0..9], forta52[a..z]

But they are not reused, they must be deleted manually (or 
using a CALL SYSTEM).

> 
> If you see something else, please post a short test program
> which can be used to look into the problem.

The following program shows the problem (well, I think it 
is not a problem if it can ve avoided easily)

      OPEN (UNIT=52,STATUS='SCRATCH')
      CALL SYSTEM('DIR G:\\USR\\TMP\\FORT*')
      READ(*,'()')
      STOP
      END

To test the program you must created all the forta???? 
files in tmp directory.

Regards,

OPH. 2001-10-5 10:30

Ing. Orlando P. Hevia   
heviaop AT ciudad DOT com DOT ar
Santa Fe-Argentina

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019