X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49BB5522.3010000@gmail.com>
Date: Sat, 14 Mar 2009 06:56:34 +0000
From: Dave Korn <dave.korn.cygwin@googlemail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: experimental package: gcc4-4.3.2-2
References: <875387.45640.qm@web25006.mail.ukl.yahoo.com>
In-Reply-To: <875387.45640.qm@web25006.mail.ukl.yahoo.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Marco Atzeri wrote:

> it seems a 1.7 specific fault. On cygwin 1.5 it works; I never checked
> before :-(

  Odd!  It fails for me on both.  (You did update gcc-4 on *both* your
installations, right?)

> is it possible that Cygwin-1.7 is fooled by the not like-C standard output
> ?
> 
> "GFORTRAN_STDOUT_UNIT—Unit number for standard output
> 
> This environment variable can be used to select the unit number
> preconnected to standard output. This must be a positive integer. The
> default value is 6. "

  I'm not sure.  From what I've studied so far of libgfortran/io, I think the
fortran "unit" numbers are mapped to, rather than directly equivalent to, unix
fds.  It might be a libgfortran bug, or it may even not; there could be some
interaction in the cygwin dll between DLL unload and stdio shutdown during the
exit sequence that fails to flush the stream properly, for example.  Still
investigating.

    cheers,
      DaveK

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

