Changeset 1741 for trunk/dll/copyf.c


Ignore:
Timestamp:
Feb 23, 2014, 12:32:04 AM (12 years ago)
Author:
Gregg Young
Message:

Fix warn readonly yes don't ask to work when recursing directories.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/copyf.c

    r1740 r1741  
    3939                and so it works with move to trashcan inabled.
    4040  22 Feb 14 GKY Fix wipeallf to recurss properly
     41  22 Feb 14 GKY Fix warn readonly yes don't ask to work when recursing directories.
    4142
    4243***********************************************************************/
     
    7778static CHAR *GetLongName(CHAR * oldname, CHAR * buffer);
    7879static CHAR *TruncName(CHAR * oldname, CHAR * buffer);
     80
     81BOOL ignorereadonly = FALSE;
    7982
    8083//static CHAR default_disk(VOID);
     
    534537        if (!IsFile(dir)) {
    535538          if (!strchr(dir, '?') && !strchr(dir, '*'))
    536             wipeallf(FALSE, "%s\\*", dir);
     539            wipeallf(TRUE, "%s\\*", dir);
    537540          DosError(FERR_DISABLEHARDERR);
    538541          if (DosDeleteDir(dir)) {
     
    621624          else {
    622625            // remove directory
    623             wipeallf(FALSE, "%s\\*", oldname);
     626            wipeallf(TRUE, "%s\\*", oldname);
    624627            DosError(FERR_DISABLEHARDERR);
    625628            if (DosDeleteDir(oldname)) {
Note: See TracChangeset for help on using the changeset viewer.