Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Wed, 1 Nov 2000 13:10:45 -0500 From: Jason Tishler To: cygwin AT sources DOT redhat DOT com Cc: pgsql-ports AT postgresql DOT org Subject: Re: ps and psql from PostgreSQL not working with cygwin-1.1.5-2 Message-ID: <20001101131045.A417@dothill.com> References: <20001029205046 DOT A19137 AT redhat DOT com> <20001031114831 DOT A27220 AT redhat DOT com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="sSVH2XmvA7euMrkK" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001031114831.A27220@redhat.com>; from cgf@redhat.com on Tue, Oct 31, 2000 at 11:48:31AM -0500 Organization: Dot Hill Systems Corp. --sSVH2XmvA7euMrkK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Chris, On Tue, Oct 31, 2000 at 11:48:31AM -0500, Christopher Faylor wrote: > I can't duplicate the ps problem and I don't use psql.exe so, unless someone > can debug this, or provide more details, this will be a problem that is in > 1.1.5. Here is the requested details regarding the psql.exe problem. There is difference in how non-blocking socket connects (i.e. using fcntl to set O_NONBLOCK) are handled in 1.1.4 and 1.1.5-3. Specifically, in 1.1.4 connect returns 0, while in 1.1.5-3 connect returns -1 with errno set to EAGAIN (i.e. No more processes). BTW, by reading the Solaris man page for connect, 1.1.4 may not have got it quite right either. connect should return -1 with errno set to EINPROGRESS for non-blocking connects that cannot be established immediately. Attached is code to duplicate the problem. Try running the client on a 1.1.5-3 machine, the server can run on any machine: $ server -p 13131& $ client -h -p 13131 Jason -- Jason Tishler Director, Software Engineering Phone: +1 (732) 264-8770 x235 Dot Hill Systems Corporation Fax: +1 (732) 264-8798 82 Bethany Road, Suite 7 Email: Jason DOT Tishler AT dothill DOT com Hazlet, NJ 07730 USA WWW: http://www.dothill.com --sSVH2XmvA7euMrkK Content-Type: application/x-tar-gz Content-Disposition: attachment; filename="example.tar.gz" Content-Transfer-Encoding: base64 H4sIAAhbADoAA+1ae0/jxhbffxMp32Ga2y4Oa/LgKVFYiYbQogsBJdC91S5CxpkkLo7tzowJ 9PHde86ZGdtJeOyu7rL3VljVxp7Hec2Z8/hRPwx4pOrtV1/waTWbm+vr7BVjra0N/dtstvCX nk2YZmxrtdlsbqzBA9OtzbWtV6z5JYWyTyqVJxh79at6fN1+PPGCiJ1LLuRzyPVMT2O5Uu7u HXfYNvONK1TKZ7+c4kD7zRvWPznvtTuV8t752U8nPRjcE2l0nU7AZp3Qi0Zxpbzf6bd7h6dn hyddmIfd40CyYRBy5seRAqNJpsacyTgVPo4NOBvGgsYMS3aoGFPeNdcrh3EYxtMgGsHiycSL BiwMIs48yYIoSRXbrpRL8HxrtrP3K2M2jqWKvAm/gK+EJbFQUTq54uIC5bGMmBIB8ohRsoj7 Cl9JNi5uuGCeoq/rKJ5GBRoMRUAGIOiQBYrJ1Pf5AMWxhEBYF1SHOa2GxyTwAg0yoYcinhD1 FJiRxvARAedogFqDycyOGZFceBdxOhobE/rXXCEjlIj2C+4NZGHDkoQhmcSR5DlLvY+YJsBD GYaC63WWoy84UETSv6WBkvVKeblRKVfK/woiP0zh2HYCMAJwnNTHb4vDUg2CeHEsDK7mB+9k Q90lXN4zboScnYi4GswTgTFwB9UIormJoR+pcG5swiexuJsbTKMAxJsb5EJEWolKGU5VKjg4 xY73/tM/6+22mqvr39vxMIZjOj3pnXXPj3c31rdaG9/jJowPDm3yxMh3mT+GS7IM7zfvL2qV 8h/gHjCHbtUlt0J6uAQ9qwuu+17zuoDxUjBkDnOQDvtml23U2OvX+efa7GerxoB86Q+8FT5o wXZ2WPUwuvHCYDBzg+ofoioSL/HbQDmtGr7/ZZkRtV2glhODs/aTO8fK51a5iAJe59yX9TTw 63yQVolIKVeK7VrLWOo8BBdDFpbDWs4Bh79BNpPEIUO1LtzqyrhawxV6yYIUtG71QjN+kDOx zn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bXKOjv5QjdLv tsFmYogIozdv2Eps00M+Yd+2c+hIr/ULYJIJTgbpKJAzbPMJ+7ad/58ollw+8rUN9vK8PP+g 52+EABFHACgAAA== --sSVH2XmvA7euMrkK Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com --sSVH2XmvA7euMrkK--