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

Diff for /src/usr.bin/ftp/complete.c between version 1.2 and 1.3

version 1.2, 1997/02/03 01:05:35 version 1.3, 1997/02/05 04:55:14
Line 77 
Line 77 
         int list;          int list;
         StringList *words;          StringList *words;
 {  {
         char insertstr[MAXPATHLEN + 1];          char insertstr[MAXPATHLEN];
         char *lastmatch;          char *lastmatch;
         int i, j, matchlen, wordlen;          int i, j, matchlen, wordlen;
   
Line 160 
Line 160 
         int list;          int list;
 {  {
         StringList *words;          StringList *words;
         char dir[MAXPATHLEN + 1];          char dir[MAXPATHLEN];
         char *file;          char *file;
         DIR *dd;          DIR *dd;
         struct dirent *dp;          struct dirent *dp;
Line 214 
Line 214 
         int list;          int list;
 {  {
         static StringList *dirlist;          static StringList *dirlist;
         static char      lastdir[MAXPATHLEN + 1];          static char      lastdir[MAXPATHLEN];
         static int       ftpdslashbug;          static int       ftpdslashbug;
         StringList      *words;          StringList      *words;
         char             dir[MAXPATHLEN + 1];          char             dir[MAXPATHLEN];
         char            *file, *cp;          char            *file, *cp;
         int              i, offset;          int              i, offset;
         unsigned char    rv;          unsigned char    rv;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3