Ignore:
Timestamp:
Mar 29, 2012, 11:03:40 PM (13 years ago)
Author:
pr
Message:

Deleting a non-existant directory not an error.

File:
1 edited

Legend:

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

    r385 r411  
    3030
    3131/*
    32  *      This file Copyright (C) 1997-2010 Ulrich M”ller.
     32 *      This file Copyright (C) 1997-2012 Ulrich M”ller.
    3333 *      This file is part of the "XWorkplace helpers" source package.
    3434 *      This is free software; you can redistribute it and/or modify
     
    35023502 *@@changed WarpIN V1.0.15 (2007-03-27) [pr]: allow NULL pulDirs and pulFiles
    35033503 *@@changed WarpIN V1.0.16 (2007-07-28) [pr]: bump directory count on recursive delete failures @@fixes 1001
     3504 *@@changed WarpIN V1.0.20 (2012-03-29) [pr]: path not found no longer an error
    35043505 */
    35053506
     
    35923593
    35933594    if (arcReturn == NO_ERROR)
     3595    {
    35943596        // success so far:
    35953597        // delete our directory now
    35963598        arcReturn = DosDeleteDir((PSZ)pcszDir);
     3599        if (arcReturn == ERROR_PATH_NOT_FOUND)  // WarpIN V1.0.20 (2012-03-29) [pr]
     3600            arcReturn = NO_ERROR;
     3601    }
    35973602
    35983603    return (arcReturn);
Note: See TracChangeset for help on using the changeset viewer.