Mail Archives: djgpp/1996/04/18/04:53:26
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 -