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

Diff for /src/usr.bin/cvs/commit.c between version 1.92 and 1.93

version 1.92, 2007/01/12 18:27:18 version 1.93, 2007/01/12 19:28:12
Line 205 
Line 205 
 {  {
         BUF *b, *d;          BUF *b, *d;
         int isnew;          int isnew;
           RCSNUM *head;
         int l, openflags, rcsflags;          int l, openflags, rcsflags;
         char rbuf[24], nbuf[24];          char rbuf[24], nbuf[24];
         CVSENTRIES *entlist;          CVSENTRIES *entlist;
Line 221 
Line 222 
   
         if (cf->file_status == FILE_MODIFIED ||          if (cf->file_status == FILE_MODIFIED ||
             cf->file_status == FILE_REMOVED || (cf->file_status == FILE_ADDED              cf->file_status == FILE_REMOVED || (cf->file_status == FILE_ADDED
             && cf->file_rcs != NULL && cf->file_rcs->rf_dead == 1))              && cf->file_rcs != NULL && cf->file_rcs->rf_dead == 1)) {
                 rcsnum_tostr(rcs_head_get(cf->file_rcs), rbuf, sizeof(rbuf));                  head = rcs_head_get(cf->file_rcs);
         else                  rcsnum_tostr(head, rbuf, sizeof(rbuf));
                   rcsnum_free(head);
           } else {
                 strlcpy(rbuf, "Non-existent", sizeof(rbuf));                  strlcpy(rbuf, "Non-existent", sizeof(rbuf));
           }
   
         isnew = 0;          isnew = 0;
         if (cf->file_status == FILE_ADDED) {          if (cf->file_status == FILE_ADDED) {

Legend:
Removed from v.1.92  
changed lines
  Added in v.1.93