Subversion Repositories SvarDOS

Rev

Rev 2214 | Rev 2216 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2214 Rev 2215
Line 751... Line 751...
751
 
751
 
752
  /* if dir: append a backslash (also get its len) */
752
  /* if dir: append a backslash (also get its len) */
753
  i = path_appendbkslash_if_dir(buf->path);
753
  i = path_appendbkslash_if_dir(buf->path);
754
 
754
 
755
  /* if ends with a \ then append ????????.??? */
755
  /* if ends with a \ then append ????????.??? */
756
  if (buf->path[i - 1] == '\\') strcat(buf->path, "????????.???");
756
  if (buf->path[i - 1] == '\\') sv_strcat(buf->path, "????????.???");
757
 
757
 
758
  /* ask DOS for list of files, but only with allowed attribs */
758
  /* ask DOS for list of files, but only with allowed attribs */
759
  i = findfirst(dta, buf->path, req.attrfilter_may);
759
  i = findfirst(dta, buf->path, req.attrfilter_may);
760
 
760
 
761
  /* print "directory of" unless /B or /S mode with no match */
761
  /* print "directory of" unless /B or /S mode with no match */