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

Diff for /src/usr.bin/rdist/child.c between version 1.15 and 1.16

version 1.15, 2011/04/10 15:47:28 version 1.16, 2011/04/18 12:29:59
Line 196 
Line 196 
          */           */
         while ((amt = read(child->c_readfd, rbuf, sizeof(rbuf))) > 0) {          while ((amt = read(child->c_readfd, rbuf, sizeof(rbuf))) > 0) {
                 /* XXX remove these debug calls */                  /* XXX remove these debug calls */
                 debugmsg(DM_MISC, "[readchild(%s, %d, %d) got %lld bytes]",                  debugmsg(DM_MISC, "[readchild(%s, %d, %d) got %zd bytes]",
                          child->c_name, child->c_pid, child->c_readfd, amt);                           child->c_name, child->c_pid, child->c_readfd, amt);
   
                 (void) xwrite(fileno(stdout), rbuf, amt);                  (void) xwrite(fileno(stdout), rbuf, amt);
Line 205 
Line 205 
                          child->c_name, child->c_pid, child->c_readfd);                           child->c_name, child->c_pid, child->c_readfd);
         }          }
   
         debugmsg(DM_MISC, "readchild(%s, %d, %d) done: amt = %lld errno = %d\n",          debugmsg(DM_MISC, "readchild(%s, %d, %d) done: amt = %zd errno = %d\n",
                  child->c_name, child->c_pid, child->c_readfd, amt, errno);                   child->c_name, child->c_pid, child->c_readfd, amt, errno);
   
         /*          /*

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16