delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/02/12:34:11

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 2 Nov 2000 12:26:34 -0500
From: Jason Tishler <Jason DOT Tishler AT dothill DOT com>
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: <20001102122634.A211@dothill.com>
References: <20001029205046 DOT A19137 AT redhat DOT com> <kvd7gh6ngu DOT fsf AT vzell DOT de DOT oracle DOT com> <20001031114831 DOT A27220 AT redhat DOT com>
Mime-Version: 1.0
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.

--PAcw7QpdXlX4v6gU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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.

Either of the two attached patches will solve the 1.1.5 psql.exe problem.
I think that the first one is more correct and the second one safer (i.e.,
less likely to break other code).

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

--PAcw7QpdXlX4v6gU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="errno.h.patch"

Index: errno.h
===================================================================
RCS file: /cvs/src/src/newlib/libc/include/sys/errno.h,v
retrieving revision 1.4
diff -u -r1.4 errno.h
--- errno.h	2000/08/01 20:51:51	1.4
+++ errno.h	2000/11/02 17:16:15
@@ -140,7 +140,7 @@
 #define ENOSHARE 136    /* No such host or network path */
 
 /* From cygwin32.  */
-#define EWOULDBLOCK EAGAIN	/* Operation would block */
+#define EWOULDBLOCK EINPROGRESS	/* Operation would block */
 
 #define __ELASTERROR 2000	/* Users can add values starting here */
 

--PAcw7QpdXlX4v6gU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="net.cc.patch"

Index: net.cc
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/net.cc,v
retrieving revision 1.30
diff -u -r1.30 net.cc
--- net.cc	2000/10/28 05:41:43	1.30
+++ net.cc	2000/11/02 17:15:53
@@ -189,7 +189,7 @@
 
 static struct tl errmap[] =
 {
- {WSAEWOULDBLOCK, "WSAEWOULDBLOCK", EWOULDBLOCK},
+ {WSAEWOULDBLOCK, "WSAEWOULDBLOCK", EINPROGRESS},
  {WSAEINPROGRESS, "WSAEINPROGRESS", EINPROGRESS},
  {WSAEALREADY, "WSAEALREADY", EALREADY},
  {WSAENOTSOCK, "WSAENOTSOCK", ENOTSOCK},


--PAcw7QpdXlX4v6gU
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
--PAcw7QpdXlX4v6gU--

- Raw text -


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