[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.32 and 1.33

version 1.32, 2015/01/16 06:40:11 version 1.33, 2015/01/20 09:00:16
Line 29 
Line 29 
  * SUCH DAMAGE.   * SUCH DAMAGE.
  */   */
   
   #include <ctype.h>
 #include <dirent.h>  #include <dirent.h>
   #include <errno.h>
   #include <fcntl.h>
   #include <limits.h>
   #include <stdlib.h>
   #include <string.h>
   #include <unistd.h>
   
 #include "defs.h"  #include "client.h"
 #include "y.tab.h"  #include "y.tab.h"
   
 /*  /*
Line 78 
Line 85 
 char *  char *
 remfilename(char *src, char *dest, char *path, char *rname, int destdir)  remfilename(char *src, char *dest, char *path, char *rname, int destdir)
 {  {
         extern struct namelist *filelist;  
         char *lname, *cp;          char *lname, *cp;
         static char buff[BUFSIZ];          static char buff[BUFSIZ];
         int srclen, pathlen;          int srclen, pathlen;
Line 157 
Line 163 
 runspecial(char *starget, opt_t opts, char *rname, int destdir)  runspecial(char *starget, opt_t opts, char *rname, int destdir)
 {  {
         struct subcmd *sc;          struct subcmd *sc;
         extern struct subcmd *subcmds;  
         char *rfile;          char *rfile;
   
         rfile = remfilename(source, Tdest, target, rname, destdir);          rfile = remfilename(source, Tdest, target, rname, destdir);
Line 192 
Line 197 
         char *rfile;          char *rfile;
         struct namelist *new;          struct namelist *new;
         struct subcmd *sc;          struct subcmd *sc;
         extern struct subcmd *subcmds;  
         int isokay = 0;          int isokay = 0;
   
         rfile = remfilename(source, Tdest, target, rname, destdir);          rfile = remfilename(source, Tdest, target, rname, destdir);

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33