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

Diff for /src/usr.bin/cvs/checkout.c between version 1.67 and 1.68

version 1.67, 2006/12/22 11:51:50 version 1.68, 2007/01/03 20:48:26
Line 263 
Line 263 
                 if ((p = strrchr(cf->file_rpath, ',')) != NULL)                  if ((p = strrchr(cf->file_rpath, ',')) != NULL)
                         *p = '\0';                          *p = '\0';
   
                 cvs_server_send_response("Updated %s/", cf->file_wd);                  if (flags & CO_COMMIT) {
                           cvs_server_send_response("Checked-in %s/",
                               cf->file_wd);
                   } else {
                           cvs_server_send_response("Updated %s/", cf->file_wd);
                   }
   
                 cvs_remote_output(cf->file_rpath);                  cvs_remote_output(cf->file_rpath);
                 cvs_remote_output(entry);                  cvs_remote_output(entry);
                 cvs_remote_output("u=rw,g=rw,o=rw");  
   
                 /* XXX */                  if (!(flags & CO_COMMIT)) {
                 printf("%ld\n", cvs_buf_len(nbp));                          cvs_remote_output("u=rw,g=rw,o=rw");
   
                 if (cvs_buf_write_fd(nbp, STDOUT_FILENO) == -1)                          /* XXX */
                         fatal("cvs_checkout_file: failed to send file");                          printf("%ld\n", cvs_buf_len(nbp));
                 cvs_buf_free(nbp);  
                           if (cvs_buf_write_fd(nbp, STDOUT_FILENO) == -1)
                                   fatal("cvs_checkout_file: failed to send file");
                           cvs_buf_free(nbp);
                   }
   
                 if (p != NULL)                  if (p != NULL)
                         *p = ',';                          *p = ',';

Legend:
Removed from v.1.67  
changed lines
  Added in v.1.68