[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.216 and 1.217

version 1.216, 2007/08/27 19:18:05 version 1.217, 2007/09/07 23:05:04
Line 2782 
Line 2782 
         struct rcs_delta *rdp;          struct rcs_delta *rdp;
         struct cvs_lines *lines;          struct cvs_lines *lines;
         struct cvs_line *lp;          struct cvs_line *lp;
           extern int print_stdout;
   
         expand = 0;          expand = 0;
         lines = rcs_rev_getlines(rfp, rev);          lines = rcs_rev_getlines(rfp, rev);
Line 2805 
Line 2806 
   
                 if (expand)                  if (expand)
                         rcs_kwexp_line(rfp->rf_path, rdp, lp, expmode);                          rcs_kwexp_line(rfp->rf_path, rdp, lp, expmode);
   
                   /*
                    * Solely for the checkout and update -p options.
                    */
                   if (cvs_server_active == 1 &&
                       (cvs_cmdop == CVS_OP_CHECKOUT ||
                       cvs_cmdop == CVS_OP_UPDATE) && print_stdout == 1) {
                           if (write(fd, "M ", 2) == -1)
                                   fatal("rcs_rev_write_fd: %s", strerror(errno));
                   }
   
                 if (write(fd, lp->l_line, lp->l_len) == -1)                  if (write(fd, lp->l_line, lp->l_len) == -1)
                         fatal("rcs_rev_write_fd: %s", strerror(errno));                          fatal("rcs_rev_write_fd: %s", strerror(errno));

Legend:
Removed from v.1.216  
changed lines
  Added in v.1.217