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

Diff for /src/usr.bin/rcs/ci.c between version 1.6 and 1.7

version 1.6, 2005/10/08 14:09:18 version 1.7, 2005/10/08 14:18:35
Line 136 
Line 136 
                         exit(1);                          exit(1);
                 }                  }
   
   
                 if (dflag) {                  if (dflag) {
                         /* XXX */                          /* XXX */
                 }                  }
   
   
                 /*                  /*
                  * Load file contents                   * Load file contents
                  */                   */
Line 183 
Line 181 
                  * Current head revision gets the RCS patch as rd_text                   * Current head revision gets the RCS patch as rd_text
                  */                   */
                 if (rcs_deltatext_set(file, file->rf_head, deltatext) == -1) {                  if (rcs_deltatext_set(file, file->rf_head, deltatext) == -1) {
                         cvs_log(LP_ERR, "failed to set new rd_text for head rev");                          cvs_log(LP_ERR,
                               "failed to set new rd_text for head rev");
                         exit (1);                          exit (1);
                 }                  }
                 /*                  /*
Line 286 
Line 285 
         BUF    *logbuf;          BUF    *logbuf;
         RCSNUM *tmprev;          RCSNUM *tmprev;
   
           rcs_msg = NULL;
         tmprev = rcsnum_alloc();          tmprev = rcsnum_alloc();
         rcsnum_cpy(rev, tmprev, 16);          rcsnum_cpy(rev, tmprev, 16);
         rcsnum_tostr(rev, prev, sizeof(prev));          rcsnum_tostr(rev, prev, sizeof(prev));
Line 293 
Line 293 
         rcsnum_free(tmprev);          rcsnum_free(tmprev);
   
         if ((logbuf = cvs_buf_alloc(64, BUF_AUTOEXT)) == NULL) {          if ((logbuf = cvs_buf_alloc(64, BUF_AUTOEXT)) == NULL) {
                 cvs_log(LP_ERR,                  cvs_log(LP_ERR, "failed to allocate log buffer");
                     "failed to allocate log buffer");  
                 return (NULL);                  return (NULL);
         }          }
         cvs_printf("%s  <--  %s\n", rcsfile, workingfile);          cvs_printf("%s  <--  %s\n", rcsfile, workingfile);
         cvs_printf("new revision: %s; previous revision: %s\n",          cvs_printf("new revision: %s; previous revision: %s\n", nrev, prev);
             nrev, prev);  
         cvs_printf("enter log message, terminated with single "          cvs_printf("enter log message, terminated with single "
             "'.' or end of file:\n");              "'.' or end of file:\n");
         cvs_printf(">> ");          cvs_printf(">> ");

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7