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

Diff for /src/usr.bin/lndir/lndir.c between version 1.8 and 1.9

version 1.8, 2002/03/28 02:36:03 version 1.9, 2002/05/29 18:33:39
Line 200 
Line 200 
         strcpy(buf, "../");          strcpy(buf, "../");
     else      else
         buf[0] = '\0';          buf[0] = '\0';
     strcat(buf, fn);      strlcat(buf, fn, sizeof buf);
   
     if (!(df = opendir(buf))) {      if (!(df = opendir(buf))) {
         warn("%s: Cannot opendir", buf);          warn("%s: Cannot opendir", buf);

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9