Subversion Repositories SvarDOS

Rev

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

Rev 1740 Rev 1741
Line 624... Line 624...
624
  wcolcount = 0; /* may be used for columns counting with wide mode */
624
  wcolcount = 0; /* may be used for columns counting with wide mode */
625
 
625
 
626
  for (;;) {
626
  for (;;) {
627
 
627
 
628
    /* filter out attributes (skip if entry comes from buffer, then it was already veted) */
628
    /* filter out attributes (skip if entry comes from buffer, then it was already veted) */
629
    if (filter_attribs(dta, req.attrfilter_must, req.attrfilter_may) == 0) continue;
629
    if (filter_attribs(dta, req.attrfilter_must, req.attrfilter_may) == 0) goto NEXT_ENTRY;
630
 
630
 
631
    /* turn string lcase (/L) */
631
    /* turn string lcase (/L) */
632
    if (req.flags & DIR_FLAG_LCASE) _strlwr(dta->fname); /* OpenWatcom extension, probably does not care about NLS so results may be odd with non-A-Z characters... */
632
    if (req.flags & DIR_FLAG_LCASE) _strlwr(dta->fname); /* OpenWatcom extension, probably does not care about NLS so results may be odd with non-A-Z characters... */
633
 
633
 
634
    summary_fcount++;
634
    summary_fcount++;
Line 695... Line 695...
695
        break;
695
        break;
696
    }
696
    }
697
 
697
 
698
    if (req.flags & DIR_FLAG_PAUSE) dir_pagination(&availrows);
698
    if (req.flags & DIR_FLAG_PAUSE) dir_pagination(&availrows);
699
 
699
 
-
 
700
    NEXT_ENTRY:
700
    /* take next entry, either from buf or disk */
701
    /* take next entry, either from buf or disk */
701
    if (dtabufcount > 0) {
702
    if (dtabufcount > 0) {
702
      dtabufcount--;
703
      dtabufcount--;
703
      _fmemcpy(((unsigned char *)dta) + 22, &(dtabuf[buf->orderidx[dtabufcount]]), sizeof(struct TINYDTA));
704
      _fmemcpy(((unsigned char *)dta) + 22, &(dtabuf[buf->orderidx[dtabufcount]]), sizeof(struct TINYDTA));
704
      dta->attr = dtabuf[buf->orderidx[dtabufcount]].time_sec2; /* restore attr from the abused time_sec2 field */
705
      dta->attr = dtabuf[buf->orderidx[dtabufcount]].time_sec2; /* restore attr from the abused time_sec2 field */