From bede48ead23cf27fc3af19da5bcf908a463edb1e Mon Sep 17 00:00:00 2001 From: Fredrik Wahlberg Date: Tue, 27 Jan 2004 22:28:06 +0000 Subject: [PATCH] Patch to fix socket problem in python running native under windows --- installer/dnspython-1.2.0.win32.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 installer/dnspython-1.2.0.win32.patch diff --git a/installer/dnspython-1.2.0.win32.patch b/installer/dnspython-1.2.0.win32.patch new file mode 100644 index 0000000..a908ff0 --- /dev/null +++ b/installer/dnspython-1.2.0.win32.patch @@ -0,0 +1,16 @@ +Index: dns/query.py +=================================================================== +RCS file: /proj/cvs/dnspython/dns/query.py,v +retrieving revision 1.16 +diff -u -u -r1.16 query.py +--- dns/query.py 6 Sep 2003 08:21:04 -0000 1.16 ++++ dns/query.py 16 Jan 2004 11:53:13 -0000 +@@ -130,7 +130,7 @@ + s.connect(address) + except socket.error: + (ty, v) = sys.exc_info()[:2] +- if v[0] != errno.EINPROGRESS: ++ if v[0] != errno.EINPROGRESS and v[0] != errno.EWOULDBLOCK: + raise ty, v + + def tcp(q, where, timeout=None, port=53, af=socket.AF_INET):