This pr includes the update of the freetds port to 0.62. Additionally all dependent ports
are patched, so the ports check for the correct file when checking if freetds is installed.
The diffs also bump the PORTREVISION for every port included.
I'm willing to take maintainership of databases/sqsh - so I included a patch which updates
the LIB_DEPENDS, PORTREVISION and the MAINTAINER variable.
For the freetds port, please add exp-patch-src-tds-read.c.diff to the files/ subdirectory.
Fix: Apply the patches.
RCS file: /home/cvs/mirror/freetds/freetds/src/tds/read.c,v
retrieving revision 1.78
diff -u -r1.78 read.c
--- src/tds/read.c 29 Dec 2003 16:08:35 -0000 1.78
+++ src/tds/read.c 10 Jan 2004 23:53:21 -0000
@@ -164,6 +164,13 @@
buflen -= len;
got += len;
+ /* When we get a timeout on select(), return 0. Don't return -1, because
+ * that would lead to a disconnect
+ * OTOH, do not let this pass to prevent an infinite loop when there is
+ * no data on the wire */
+ if (retcode == 0)
+ return 0;
now = time(NULL);
--- exp-patch-src-tds-read.c.diff ends here ---
I'll take it.