[Fwd: Re: exim fclose() warning message (was Re: 1.3.21)]
Christopher Faylor
cgf@redhat.com
Fri Mar 7 16:48:00 GMT 2003
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
More information about the Cygwin-developers
mailing list