Date: Thu, 18 Apr 1996 11:37:58 +0200 (IST) From: Eli Zaretskii To: Clive Page Cc: djgpp AT delorie DOT com Subject: Re: Problem with f2c/libI77 and Fortran OPEN In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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).