Changeset 1354 for trunk/dll/seeall.c


Ignore:
Timestamp:
Dec 25, 2008, 11:43:34 PM (17 years ago)
Author:
Gregg Young
Message:

Added driveflags to over ride write verify for USB removable drives that fail when it is on (Ticket 323); A flag to prevent directory name from being broadcast to drives in the tree cnr prior to a recursive scan of the drive (causes dbl directory names Ticket 321) Add option for multithreaded recursive scan of user selected drives at startup (Ticket 322).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/seeall.c

    r1335 r1354  
    613613          INT type;
    614614          FILESTATUS4L fs4;
    615           BOOL isnewer, existed;
     615          BOOL isnewer, existed, fResetVerify = FALSE;
    616616
    617617          for (x = 0; list[x]; x++) {
     
    731731                             message);
    732732            if (fRealIdle)
    733               priority_idle();
     733              priority_idle();
     734            if (fVerify && (driveflags[toupper(*list[x]) - 'A'] & DRIVE_WRITEVERIFYOFF ||
     735                            driveflags[toupper(*newname) - 'A'] & DRIVE_WRITEVERIFYOFF)) {
     736              DosSetVerify(FALSE);
     737              fResetVerify = TRUE;
     738            }
    734739            if (plen) {
    735740              /* make directory/ies, if required */
     
    745750              }
    746751            }
    747             rc = docopyf(type, list[x], "%s", newname);
     752            rc = docopyf(type, list[x], "%s", newname);
     753            if (fResetVerify) {
     754              DosSetVerify(fVerify);
     755              fResetVerify = FALSE;
     756            }
    748757            priority_normal();
    749758            if (rc) {
Note: See TracChangeset for help on using the changeset viewer.