www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/21/20:34:12

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20091121212239.GD29173@calimero.vinschen.de>
References: <20091119094439 DOT GC29173 AT calimero DOT vinschen DOT de> <f4d6f44b0911191814r4653debfu24cbd4afd956f117 AT mail DOT gmail DOT com> <20091120093210 DOT GQ29173 AT calimero DOT vinschen DOT de> <f4d6f44b0911202003j71954bf0lf5b6696acdfe7e7d AT mail DOT gmail DOT com> <20091121110204 DOT GB23273 AT calimero DOT vinschen DOT de> <f4d6f44b0911210743r221b5107qfa4ebee00c9a97e9 AT mail DOT gmail DOT com> <20091121212239 DOT GD29173 AT calimero DOT vinschen DOT de>
Date: Sun, 22 Nov 2009 09:33:14 +0800
Message-ID: <f4d6f44b0911211733t15929d5ctac8e06c977bbc10c@mail.gmail.com>
Subject: Re: [1.7] Updated: cygwin-1.7.0-65
From: Huang Bambo <bambo DOT huang AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

And there's another quesiton:
The handle of chile process( created by fork ) seems never been closed
bye parent process. Is it need to be closed?

2009/11/22 Corinna Vinschen <corinna-cygwin AT cygwin DOT com>:
> On Nov 21 23:43, Huang Bambo wrote:
>> $ gcc-3 -mno-cygwin -g -o dup-sock dup-sock.c -lws2_32 -lntdll
>>
>> and output are:
>> $ ./dup-sock.exe
>> Inherit: 1
>> dwServiceFlags1: 00020066
>> dwServiceFlags2: 00000000
>> dwServiceFlags3: 00000000
>> dwServiceFlags4: 00000000
>> dwProviderFlags: 00000008
>> ProviderId: E70F1AA0-AB8B-11CF-8CA3-00805F48A192
>> dwCatalogEntryId: 000003E9
>> ProtocolChain: [len: 1]
>> =A0 =A0 0: 0000AB8B
>> iVersion: 2
>> iAddressFamily: 2
>> iMaxSockAddr: 16
>> iMinSockAddr: 16
>> iSocketType: 1
>> iProtocol: 6
>> iProtocolMaxOffset: 0
>> iNetworkByteOrder: 0
>> iSecurityScheme: 0
>> dwMessageSize: 0
>> dwProviderReserved: 1912
>> szProtocol: MSAFD Tcpip [TCP/IP]
>> ProviderPath: %SystemRoot%\system32\mswsock.dll
>>
>> I don't have any antivirus software or firewall installed in my computer.
>
> The above shows that as well. =A0It's the expected output if no socket
> provider is installed which handles this type of socket.
>
>> Please send the test code to me.
>
> Nver mind. =A0With the help of your testcase I found the problem. =A0I'll
> apply a fix shortly, but I have to think about it some more first.
>
>
> Thanks for the testcase,
> Corinna
>
> --
> Corinna Vinschen =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Please, send mails re=
garding Cygwin to
> Cygwin Project Co-Leader =A0 =A0 =A0 =A0 =A0cygwin AT cygwin DOT com
> Red Hat
>
> --
> Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html
> FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/
> Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html
> Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple
>
>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019