| 1234567891011121314151617 |
- 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)
|