[BACK]Return to rcs.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / cvs

Diff for /src/usr.bin/cvs/rcs.c between version 1.143 and 1.144

version 1.143, 2006/03/11 22:44:11 version 1.144, 2006/03/15 05:05:35
Line 2542 
Line 2542 
          * $Keyword$           * $Keyword$
          * $Keyword: value$           * $Keyword: value$
          */           */
         for (c = data; *c != '\0' && i < len; *c++) {          for (c = data; *c != '\0' && i < len; c++) {
                 if (*c == '$') {                  if (*c == '$') {
                         /* remember start of this possible keyword */                          /* remember start of this possible keyword */
                         start = c;                          start = c;
                         start_offset = start - data;                          start_offset = start - data;
   
                         /* first following character has to be alphanumeric */                          /* first following character has to be alphanumeric */
                         *c++;                          c++;
                         if (!isalpha(*c)) {                          if (!isalpha(*c)) {
                                 c = start;                                  c = start;
                                 continue;                                  continue;

Legend:
Removed from v.1.143  
changed lines
  Added in v.1.144