delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-developers-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-developers-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin-developers/> |
List-Post: | <mailto:cygwin-developers AT cygwin DOT com> |
List-Help: | <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-developers-owner AT cygwin DOT com |
Delivered-To: | mailing list cygwin-developers AT cygwin DOT com |
Date: | Fri, 7 Mar 2003 11:49:09 -0500 |
From: | Christopher Faylor <cgf AT redhat DOT com> |
To: | cygwin-developers AT cygwin DOT com |
Subject: | Re: [Fwd: Re: exim fclose() warning message (was Re: 1.3.21)] |
Message-ID: | <20030307164909.GA25015@redhat.com> |
Reply-To: | cygwin-developers AT cygwin DOT com |
Mail-Followup-To: | cygwin-developers AT cygwin DOT com |
References: | <3E68B63E DOT CC299937 AT ieee DOT org> |
Mime-Version: | 1.0 |
In-Reply-To: | <3E68B63E.CC299937@ieee.org> |
User-Agent: | Mutt/1.5.1i |
On Fri, Mar 07, 2003 at 10:09:51AM -0500, Pierre A. Humblet wrote: >Jason has performed the experiment I suggested > >> - What happens when you "strace your_test_case" > >See sc11.log. > >> - What happens when you "strace sh -c 'hostname; your_test_case'" > >See sc11.log2. > >> - What happens when you remove hostname from line above? > >See sc11.log3. > >Everything is fine in case 1, but close fails in cases 2 & 3. >I removed the second log to save space. > >The third log shows that the dup call fails at the wsock level >but Cygwin doesn't care and reports a success !!! > >I have also an unrelated observation: >tty:c (create_tty_master) calls cygwin_gethostname () to fill >the utmp record. That means (I think) we are always loading >wsock when starting a Cygwin program from DOS. When CYGWIN=tty, yes. >I think we should use GetComputerName in that spot. Ok. Could you make that change? cgf
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |