www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/18/04:53:26

Date: Thu, 18 Apr 1996 11:37:58 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Clive Page <cgp AT le DOT ac DOT uk>
Cc: djgpp AT delorie DOT com
Subject: Re: Problem with f2c/libI77 and Fortran OPEN
In-Reply-To: <Pine.SGI.3.91.960417100549.22623A-100000@hawk>
Message-Id: <Pine.SUN.3.91.960418113028.10058A-100000@is>
Mime-Version: 1.0

On Wed, 17 Apr 1996, Clive Page wrote:

> But I have found one minor problem: a Fortran OPEN(STATUS='OLD' does not
> return an error status when one tries to open a file which does not exist,
> as one would normally expect.  The INQUIRE statement, however, does report

If you could look (or step with a debugger) into the function(s) that
implement that OPEN statement, and tell here how do those functions handle
such a case, you might get immediate help from people who don't know
neither Fortran nor f2c, but know *a lot* about the C library and how does
it work in DJGPP.  I would guess that the cause of the problem is either
in some peculiarity of MS-DOS filesystem that didn't get due attention by
whoever ported it to DJGPP, or in some subtle change in the C library that
happened in DJGPP v2 (if that is the version that you use;  please tell if
it's v1.x or v2). 

- Raw text -


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