This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] Updated: cvs-1.12.13-1


Chris Sutcliffe wrote:

> After upgrading, whenever I try to execute a CVS command on an
> existing CVS repository, I get:
> 
> $ cvs diff
> cvs: gzip compression level must be between 0 and 9
> 
> $ cvs up
> cvs: gzip compression level must be between 0 and 9

You don't, by any chance, have the following somewhere in your ~/.cvsrc?

cvs -z (and maybe some additional args)

If you do, you need to change that to

cvs -zN (then the additional args)


If doing that "fixes" it, I'm still not sure why your "old" cvs accepted
this -z without a (numeric) argument.


Here's the code from cvs-1.12.13-1:

  case 'z':
#ifdef CLIENT_SUPPORT
    gzip_level = strtol (optarg, &end, 10);
    if (*end != '\0' || gzip_level < 0 || gzip_level > 9)
      error (1, 0,
             "gzip compression level must be between 0 and 9");
#endif /* CLIENT_SUPPORT */
    break;


Here's the code for cvs-1.11.22-1:

  case 'z':
    gzip_level = strtol (optarg, &end, 10);
    if (*end != '\0' || gzip_level < 0 || gzip_level > 9)
      error (1, 0,
             "gzip compression level must be between 0 and 9");
    break;

(and frankly, the code looks the same all the way back to cvs-1.11.17-1
release on 2004-09-15)...

--
Chuck


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]