delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/05/01/09:30:42

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Tue, 1 May 2001 17:29:08 +0400
From: egor duda <deo AT logos-m DOT ru>
X-Mailer: The Bat! (v1.45) Personal
Reply-To: egor duda <cygwin-apps AT cygwin DOT com>
Organization: deo
X-Priority: 3 (Normal)
Message-ID: <12786583109.20010501172908@logos-m.ru>
To: cygdev <cygwin-developers AT cygwin DOT com>
CC: cygwin-apps AT cygwin DOT com, Craig Nelson <craig AT reversion DOT ca>
Subject: Re: WSASocketA returns WSAEPROVIDERFAILEDINIT
In-reply-To: <20010430215921.M24200@cygbert.vinschen.de>
References: <2415739582 DOT 20010430214824 AT logos-m DOT ru>
<20010430215921 DOT M24200 AT cygbert DOT vinschen DOT de>
Mime-Version: 1.0

------------A2502417BE8F76
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi!

Monday, 30 April, 2001 Corinna Vinschen vinschen AT redhat DOT com wrote:

CV> On Mon, Apr 30, 2001 at 09:48:24PM +0400, egor duda wrote:
>> anybody ever seen this?
>> 
>> 10733   37491 [main] sh 245 fhandler_socket::fixup_after_fork: WSASocket error
>>   638   38129 [main] sh 245 __set_winsock_errno: fixup_after_fork:168 - winsock error 10106 -> errno 1

CV> Gack! Is that 100% reproducibel or intermittent? What system?
CV> I never saw that before.

pretty reproducible. i've tracked it down. Some component of winsock
wants SystemRoot to be present in environment. patch attached

2001-05-01  Egor Duda  <deo AT logos-m DOT ru>

        * rshd.c (doit): Pass 'SystemRoot' environment variable to shell.
        Without it, some winsock conponents fail to initialize, which leads
        to WSAEPROVIDERFAILEDINIT error.

egor.            mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19
------------A2502417BE8F76
Content-Type: application/octet-stream; name="rshd.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="rshd.diff"

LS0tIHJzaGQuYy5vcmlnCUZyaSBKYW4gMTkgMTU6MjQ6NDIgMjAwMQorKysgcnNoZC5jCVR1ZSBN
YXkgIDEgMTc6MTk6MTMgMjAwMQpAQCAtMjI4LDcgKzIyOCw4IEBAIGNoYXIJKnBhdGggPSBOVUxM
OwogI2lmZGVmIF9fQ1lHV0lOX18KIGNoYXIJdGVybVtdID0gIlRFUk09Y3lnd2luIjsKK2NoYXIJ
c3lzdGVtX3Jvb3QgW1BBVEhfTUFYICsgMjBdOwogLyogZW52aW5pdFsyXSBpcyBhIHBsYWNlaG9s
ZGVyIGZvciBQQVRILiAqLwogY2hhcgkqZW52aW5pdFtdID0KLQkgICAge2hvbWVkaXIsIHNoZWxs
LCBOVUxMLCB1c2VybmFtZSwgdGVybSwgMH07CisJICAgIHtob21lZGlyLCBzaGVsbCwgTlVMTCwg
dXNlcm5hbWUsIHRlcm0sIHN5c3RlbV9yb290LCAwfTsKICNlbHNlCiBjaGFyCSplbnZpbml0W10g
PQpAQCAtODExLDQgKzgxMiw5IEBAIGZhaWw6CiAjZW5kaWYKIAllbnZpbml0WzJdID0gcGF0aDsK
KworI2lmZGVmIF9fQ1lHV0lOX18KKyAgICAgICAgc3RyY3B5KHN5c3RlbV9yb290LCAiU1lTVEVN
Uk9PVD0iKTsKKyAgICAgICAgc3RybmNhdChzeXN0ZW1fcm9vdCwgZ2V0ZW52KCJTWVNURU1ST09U
IiksIFBBVEhfTUFYKTsKKyNlbmRpZgogCiAJc3RybmNhdChzaGVsbCwgcHdkLT5wd19zaGVsbCwg
c2l6ZW9mKHNoZWxsKS03KTsK

------------A2502417BE8F76
Content-Type: application/octet-stream; name="rshd.ChangeLog"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="rshd.ChangeLog"

MjAwMS0wNS0wMSAgRWdvciBEdWRhICA8ZGVvQGxvZ29zLW0ucnU+CgoJKiByc2hkLmMgKGRvaXQp
OiBQYXNzICdTeXN0ZW1Sb290JyBlbnZpcm9ubWVudCB2YXJpYWJsZSB0byBzaGVsbC4KCVdpdGhv
dXQgaXQsIHNvbWUgd2luc29jayBjb25wb25lbnRzIGZhaWwgdG8gaW5pdGlhbGl6ZSwgd2hpY2gg
bGVhZHMKCXRvIFdTQUVQUk9WSURFUkZBSUxFRElOSVQgZXJyb3IuCg==

------------A2502417BE8F76--


- Raw text -


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