[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.194 and 1.195

version 1.194, 2007/01/12 17:25:33 version 1.195, 2007/01/12 19:28:12
Line 592 
Line 592 
 rcs_head_get(RCSFILE *file)  rcs_head_get(RCSFILE *file)
 {  {
         char br[16];          char br[16];
           RCSNUM *rev;
   
         if (file->rf_branch != NULL) {          if (file->rf_branch != NULL) {
                 rcsnum_tostr(file->rf_branch, br, sizeof(br));                  rcsnum_tostr(file->rf_branch, br, sizeof(br));
                 return (rcs_translate_tag(br, file));                  rev = rcs_translate_tag(br, file);
           } else {
                   rev = rcsnum_alloc();
                   rcsnum_cpy(file->rf_head, rev, 0);
         }          }
   
         return (file->rf_head);          return (rev);
 }  }
   
 /*  /*

Legend:
Removed from v.1.194  
changed lines
  Added in v.1.195