From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19367 invoked by alias); 23 Jul 2007 04:44:20 -0000 Received: (qmail 19333 invoked by uid 48); 23 Jul 2007 04:44:09 -0000 Date: Mon, 23 Jul 2007 04:44:00 -0000 Message-ID: <20070723044409.19332.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libfortran/32784] [win32] Using 'con' as assigned file generates Fortran runtime error: File 'con' does not exist In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dannysmith at users dot sourceforge dot net" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-07/txt/msg02302.txt.bz2 ------- Comment #15 from dannysmith at users dot sourceforge dot net 2007-07-23 04:44 ------- (In reply to comment #13) > Created an attachment (id=13950) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13950&action=view) [edit] > Patch to provide conio support > > Danny, can you please check this new patch. Works on Cygwin as far as I can > tell. > Not on mingw. If you run the app generated from conout.f in an environ that dup's and redirects stderr, it appears to work. If you run from a plain ordinary Windows console, I still get Hello, world! At line 2 of file a1.f (unit = 29, file = 'CONOUT$') Fortran runtime error: Bad file descriptor Try testing your cygwin-built app from DOS (with cygwin1.dll in %PATH, of course). Danny -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32784