cvsclient.c: switch to binary (non-pipe mode for received files
The problem:
When text file is stored without a trailing newline
GNU CVSNT server (on windows) refuses to
return "ok\n" in a separate line on 'cvs -p up' command.
In this situation 'cvsps' gets last line like "M <hello>ok\n"
and hangs as it waits for separate "ok\n" line.
pipe mode also does not allow importing binary files
if client does not support 'Mbinary'.
This patch solves the problem by switching to non-pipe mode
for 'cvs update'.
In this mode every checkout is prepended by amount of bytes
in response.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>