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

Diff for /src/usr.bin/rdist/client.c between version 1.20 and 1.21

version 1.20, 2004/10/04 05:21:27 version 1.21, 2009/02/15 22:20:54
Line 791 
Line 791 
   
         debugmsg(DM_CALL, "update(%s, 0x%x, 0x%x)\n", rname, opts, statp);          debugmsg(DM_CALL, "update(%s, 0x%x, 0x%x)\n", rname, opts, statp);
   
           switch (statp->st_mode & S_IFMT) {
           case S_IFBLK:
                   debugmsg(DM_MISC, "%s is a block special; skipping\n", target);
                   return(US_NOTHING);
           case S_IFCHR:
                   debugmsg(DM_MISC, "%s is a character special; skipping\n",
                       target);
                   return(US_NOTHING);
           case S_IFIFO:
                   debugmsg(DM_MISC, "%s is a fifo; skipping\n", target);
                   return(US_NOTHING);
           case S_IFSOCK:
                   debugmsg(DM_MISC, "%s is a socket; skipping\n", target);
                   return(US_NOTHING);
           }
   
         if (IS_ON(opts, DO_NOEXEC))          if (IS_ON(opts, DO_NOEXEC))
                 if (isexec(target, statp)) {                  if (isexec(target, statp)) {
                         debugmsg(DM_MISC, "%s is an executable\n", target);                          debugmsg(DM_MISC, "%s is an executable\n", target);
Line 1093 
Line 1109 
                 /*                  /*
                  * Since we always send link info to the server                   * Since we always send link info to the server
                  * so the server can determine if the remote link                   * so the server can determine if the remote link
                  * is correct, we never get any acknowledge meant                   * is correct, we never get any acknowledgement
                  * from the server whether the link was really                   * from the server whether the link was really
                  * updated or not.                   * updated or not.
                  */                   */

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21