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

Diff for /src/usr.bin/cvs/rcsnum.c between version 1.35 and 1.36

version 1.35, 2006/04/14 02:49:44 version 1.36, 2006/04/14 22:33:15
Line 34 
Line 34 
 static void      rcsnum_setsize(RCSNUM *, u_int);  static void      rcsnum_setsize(RCSNUM *, u_int);
 static char     *rcsnum_itoa(u_int16_t, char *, size_t);  static char     *rcsnum_itoa(u_int16_t, char *, size_t);
   
   int rcsnum_flags;
   
 /*  /*
  * rcsnum_alloc()   * rcsnum_alloc()
Line 267 
Line 268 
          * completely insane and not understandable reason in that output.           * completely insane and not understandable reason in that output.
          *           *
          */           */
 #if !defined(RCSPROG)          if (nump->rn_len > 2 && nump->rn_id[nump->rn_len - 1] == 0
         if (nump->rn_len > 2 && nump->rn_id[nump->rn_len - 1] == 0 &&              && !(rcsnum_flags & RCSNUM_NO_MAGIC)) {
             cvs_cmdop != CVS_OP_LOG) {  
 #else  
         if (nump->rn_len > 2 && nump->rn_id[nump->rn_len - 1] == 0) {  
 #endif  
                 /*                  /*
                  * Look for ".0.x" at the end of the branch number.                   * Look for ".0.x" at the end of the branch number.
                  */                   */

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36