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

Diff for /src/usr.bin/rcs/rcsnum.c between version 1.11 and 1.12

version 1.11, 2008/05/22 07:03:02 version 1.12, 2010/07/23 21:46:05
Line 282 
Line 282 
          * rightside of the branch number, so instead of having an odd           * rightside of the branch number, so instead of having an odd
          * number of dot-separated decimals, it will have an even number.           * number of dot-separated decimals, it will have an even number.
          *           *
          * Now, according to all the documentation i've found on the net           * Now, according to all the documentation I've found on the net
          * about this, cvs does this for "efficiency reasons", i'd like           * about this, cvs does this for "efficiency reasons", I'd like
          * to hear one.           * to hear one.
          *           *
          * We just make sure we remove the .0. from in the branch number.           * We just make sure we remove the .0. from in the branch number.
Line 305 
Line 305 
                                 s--;                                  s--;
   
                         /*                          /*
                          * If we have a "magic" branch, adjust it                           * If we have a "magic" branch, adjust it
                          * so the .0. is removed.                           * so the .0. is removed.
                          */                           */
                         if (!strncmp(s, RCS_MAGIC_BRANCH,                          if (!strncmp(s, RCS_MAGIC_BRANCH,
                             strlen(RCS_MAGIC_BRANCH))) {                              strlen(RCS_MAGIC_BRANCH))) {
                                 nump->rn_id[nump->rn_len - 1] =                                  nump->rn_id[nump->rn_len - 1] =

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12