Changeset 353


Ignore:
Timestamp:
Jul 28, 2007, 11:28:11 PM (18 years ago)
Author:
pr
Message:

Bump directory count when recursive file delete fails. Bug 1001

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1-0/src/helpers/dosh.c

    r350 r353  
    34993499 *@@added V0.9.4 (2000-07-01) [umoeller]
    35003500 *@@changed WarpIN V1.0.15 (2007-03-27) [pr]: allow NULL pulDirs and pulFiles
     3501 *@@changed WarpIN V1.0.16 (2007-07-28) [pr]: bump directory count on recursive delete failures @@fixes 1001
    35013502 */
    35023503
     
    35603561                        // (this is what OS/2 reports with DosDeleteDir as well)
    35613562                        arcReturn = ERROR_ACCESS_DENIED;  // 5
     3563                    }
     3564
     3565                    if (arcReturn != NO_ERROR)  // WarpIN V1.0.16 (2007-07-28) [pr]
    35623566                        if (pulDirs)  // WarpIN V1.0.15 (2007-03-27) [pr]
    35633567                            (*pulDirs)++;
    3564                     }
    35653568                }
    35663569            }
  • trunk/src/helpers/dosh.c

    r350 r353  
    37123712 *@@added V0.9.4 (2000-07-01) [umoeller]
    37133713 *@@changed WarpIN V1.0.15 (2007-03-27) [pr]: allow NULL pulDirs and pulFiles
     3714 *@@changed WarpIN V1.0.16 (2007-07-28) [pr]: bump directory count on recursive delete failures @@fixes 1001
    37143715 */
    37153716
     
    37733774                        // (this is what OS/2 reports with DosDeleteDir as well)
    37743775                        arcReturn = ERROR_ACCESS_DENIED;  // 5
     3776                    }
     3777
     3778                    if (arcReturn != NO_ERROR)  // WarpIN V1.0.16 (2007-07-28) [pr]
    37753779                        if (pulDirs)  // WarpIN V1.0.15 (2007-03-27) [pr]
    37763780                            (*pulDirs)++;
    3777                     }
    37783781                }
    37793782            }
Note: See TracChangeset for help on using the changeset viewer.