www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/04/30/16:50:19

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: Mon, 30 Apr 2001 23:57:32 +0400
From: egor duda <deo AT logos-m DOT ru>
X-Mailer: The Bat! (v1.45) Personal
Reply-To: egor duda <cygwin-developers AT cygwin DOT com>
Organization: deo
X-Priority: 3 (Normal)
Message-ID: <2723487823.20010430235732@logos-m.ru>
To: egor duda <cygwin-developers AT cygwin DOT com>
Subject: Re: WSASocketA returns WSAEPROVIDERFAILEDINIT
In-reply-To: <2415739582.20010430214824@logos-m.ru>
References: <2415739582 DOT 20010430214824 AT logos-m DOT ru>
Mime-Version: 1.0

Hi!

Monday, 30 April, 2001 egor duda deo AT logos-m DOT ru wrote:

hmm. rshd's playing with the path. if i change execle (..., envinit); to
execl (...); error disappears.

the strangest thing is that event if i try to construct PATH in sh to
be identical with rshd's (i made them differ only in case), it still
prints this error.

ed> anybody ever seen this?

ed>   491  163620 [main] in.rshd 245 spawn_guts: spawn_guts null_app_name 0 (e:\unix\bin\sh.exe, e:\unix\bin\sh.exe -c /bin/peer)
ed>  2386  166006 [main] in.rshd 245 dtable::fixup_before_exec: fd 0(/dev/tcp)
ed>   363  166369 [main] in.rshd 245 fhandler_socket::fixup_before_fork_exec: WSADuplicateSocket went fine, dwServiceFlags1=131174
ed>   569  166938 [main] in.rshd 245 dtable::fixup_before_exec: fd 1(/dev/pipew)
ed>   272  167210 [main] in.rshd 245 dtable::fixup_before_exec: fd 2(/dev/pipew)
ed>   247  167457 [main] in.rshd 245 spawn_guts: 245 = spawn_guts (/bin/sh, e:\unix\bin\sh.exe -c /bin/peer)
ed>   258  167715 [main] in.rshd 245! spawn_guts: spawned windows pid 212
ed> 81179  493904 [select_socket] in.rshd 214 thread_socket: stuff_start 0xA014634
ed>  2351  170066 [sig] in.rshd 245! wait_sig: sigcatch_nonmain 0xCC, sigcatch_main 0x234
ed>   324  170390 [sig] in.rshd 245! wait_sig: Ready.  dwProcessid 245
ed> **********************************************
ed> Program name: e:\unix\bin\sh.exe (245)
ed> App version:  1001.8, api: 0.34
ed> DLL version:  1003.2, api: 0.39
ed> DLL build:    2001-04-26 16:50
ed> OS version:   Windows NT-4.0
ed> Date/Time:    2001-04-30 21:29:42
ed> **********************************************
ed>   293   11682 [main] sh 245 fhandler_socket::fixup_after_fork: WSASocket begin, dwServiceFlags1=131174
ed> 13342   25024 [main] sh 245 wsock_init: res 0
ed>   351   25375 [main] sh 245 wsock_init: wVersion 514
ed>   227   25602 [main] sh 245 wsock_init: wHighVersion 514
ed>   220   25822 [main] sh 245 wsock_init: szDescription WinSock 2.0
ed>   219   26041 [main] sh 245 wsock_init: szSystemStatus Running
ed>   224   26265 [main] sh 245 wsock_init: iMaxSockets 0
ed>   268   26533 [main] sh 245 wsock_init: iMaxUdpDg 0
ed>   225   26758 [main] sh 245 wsock_init: lpVendorInfo 0
ed> 10733   37491 [main] sh 245 fhandler_socket::fixup_after_fork: WSASocket error
ed>   638   38129 [main] sh 245 __set_winsock_errno: fixup_after_fork:168 - winsock error 10106 -> errno 1
ed>   274   38403 [main] sh 245 fhandler_base::fixup_after_fork: inheriting '/dev/tcp' from parent
ed>   680   39083 [main] sh 245 fhandler_socket::fixup_after_fork: Without Winsock 2.0

egor.            mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19


- Raw text -


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