OpenPKG CVS Repository
http://www.openpkg.org/cvsweb/cvsweb.cgi
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-web, openpkg-src Date: 22-Aug-2002 15:47:01
Branch: HEAD Handle: 2002082214470000
Added files:
openpkg-src/cvs cvs.patch
Modified files:
openpkg-src/cvs cvs.spec
openpkg-web news.txt
Log:
include patch to fix communication hanging with old clients
Summary:
Revision Changes Path
1.1 +16 -0 openpkg-src/cvs/cvs.patch
1.35 +3 -1 openpkg-src/cvs/cvs.spec
1.1368 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
Index: openpkg-src/cvs/cvs.patch
============================================================
$ cvs update -p -r1.1 cvs.patch
Fix communication hanging in communication shutdown phase, caused by at
least older CVS clients (version < 1.11.2) and a semantically incorrect
usage of getc() by the server.
--- cvs-1.11.2.orig/src/buffer.c 2001-08-09 21:26:35.000000000 +0200
+++ cvs-1.11.2/src/buffer.c 2002-08-22 15:40:11.000000000 +0200
@@ -1378,8 +1378,7 @@
if (buf->input)
{
- if (! buf_empty_p (buf)
- || getc (bc->fp) != EOF)
+ if (! buf_empty_p (buf))
{
# ifdef SERVER_SUPPORT
if (server_active)
Index: openpkg-src/cvs/cvs.spec
============================================================
$ cvs diff -u -r1.34 -r1.35 cvs.spec
--- openpkg-src/cvs/cvs.spec 19 Aug 2002 08:48:26 -0000 1.34
+++ openpkg-src/cvs/cvs.spec 22 Aug 2002 13:47:00 -0000 1.35
@@ -45,7 +45,7 @@
Group: SCM
License: GPL
Version: %{V_cvs}
-Release: 20020819
+Release: 20020822
# list of sources
Source0: http://www.cvshome.org/files/19/10/cvs-%{V_cvs}.tar.gz
@@ -53,6 +53,7 @@
Source2: http://www.red-bean.com/cvs2cl/cvs2cl.pl
Source3: cvs.patches.rse
Source4: rc.cvs
+Patch0: cvs.patch
# build information
Prefix: %{l_prefix}
@@ -92,6 +93,7 @@
%prep
%setup0 -q -c
+ %patch0 -p0
%setup1 -q -T -D -a 1
%if "%{with_rse_patches}" == "yes"
( cd cvs-%{V_cvs}
Index: openpkg-web/news.txt
============================================================
$ cvs diff -u -r1.1367 -r1.1368 news.txt
--- openpkg-web/news.txt 22 Aug 2002 13:29:00 -0000 1.1367
+++ openpkg-web/news.txt 22 Aug 2002 13:47:00 -0000 1.1368
@@ -1,3 +1,4 @@
+22-Aug-2002: Upgraded package: P<cvs-1.11.2-20020822>
22-Aug-2002: Upgraded package: P<cdk-4.9.10.20020809-20020822>
22-Aug-2002: Upgraded package: P<openldap-2.1.3-20020822>
22-Aug-2002: Upgraded package: P<db3-3.3.11-20020822>
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]