This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Fwd: Re: exim fclose() warning message (was Re: 1.3.21)]


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]