This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: [Fwd: Re: exim fclose() warning message (was Re: 1.3.21)]
- From: Christopher Faylor <cgf at redhat dot com>
- To: cygwin-developers at cygwin dot com
- Date: Fri, 7 Mar 2003 11:49:09 -0500
- Subject: Re: [Fwd: Re: exim fclose() warning message (was Re: 1.3.21)]
- References: <3E68B63E.CC299937@ieee.org>
- Reply-to: cygwin-developers at cygwin dot com
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