Re: Possible bug in cvs log/rlog command
Brought to you by:
tyranny
From: Alexey M. <al...@hs...> - 2002-05-14 21:45:32
|
>>>>> "AM" == Alexey Morozov <mo...@no...> writes: AM> Either I can't understand cvs log syntax completely or it has a bug in AM> -w switch processing. As I read in dox I should write smth like this AM> if I want to get both tyranny's and morozov's commits for src/ls.c: Genuine off-by-one error: Index: log.c =================================================================== RCS file: /cvsroot/cvs-nserver/cvs-nserver/src/log.c,v retrieving revision 1.1.1.6.4.5 diff -u -r1.1.1.6.4.5 log.c --- log.c 25 Nov 2001 20:45:30 -0000 1.1.1.6.4.5 +++ log.c 14 May 2002 21:32:16 -0000 @@ -747,7 +747,7 @@ len = cp - argstring; p->key = xmalloc (len + 1); strncpy (p->key, argstring, len); - p->key[len + 1] = '\0'; + p->key[len] = '\0'; } if (*plist == NULL) I'm very impressed :) --alexm |