Subversion Repositories SvarDOS

Rev

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

Rev 1050 Rev 1057
Line 98... Line 98...
98
   * the source filename found by FindFirst/FindNext and buff2 is filled with
98
   * the source filename found by FindFirst/FindNext and buff2 is filled with
99
   * the destination file (with ?'s replaced by whatever is found at the same
99
   * the destination file (with ?'s replaced by whatever is found at the same
100
   * location in buff1).
100
   * location in buff1).
101
   */
101
   */
102
 
102
 
103
  i = findfirst(dta, src, 0);
103
  i = findfirst(dta, src, DOS_ATTR_RO | DOS_ATTR_HID | DOS_ATTR_SYS | DOS_ATTR_ARC | DOS_ATTR_DIR);
104
  if (i != 0) nls_outputnl_doserr(i);
104
  if (i != 0) nls_outputnl_doserr(i);
105
 
105
 
106
  while (i == 0) {
106
  while (i == 0) {
107
    /* write found fname into buff1 and dst fname into buff2 - both in FCB
107
    /* write found fname into buff1 and dst fname into buff2 - both in FCB
108
     * format (MYFILE  EXT) so it is easy to compare them */
108
     * format (MYFILE  EXT) so it is easy to compare them */