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
  • trunk/src/helpers/dosh.c

    r385 r411  
    3030
    3131/*
    32  *      This file Copyright (C) 1997-20107Ulrich 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
     
    37153715 *@@changed WarpIN V1.0.15 (2007-03-27) [pr]: allow NULL pulDirs and pulFiles
    37163716 *@@changed WarpIN V1.0.16 (2007-07-28) [pr]: bump directory count on recursive delete failures @@fixes 1001
     3717 *@@changed WarpIN V1.0.20 (2012-03-29) [pr]: path not found no longer an error
    37173718 */
    37183719
     
    38053806
    38063807    if (arcReturn == NO_ERROR)
     3808    {
    38073809        // success so far:
    38083810        // delete our directory now
    38093811        arcReturn = DosDeleteDir((PSZ)pcszDir);
     3812        if (arcReturn == ERROR_PATH_NOT_FOUND)  // WarpIN V1.0.20 (2012-03-29) [pr]
     3813            arcReturn = NO_ERROR;
     3814    }
    38103815
    38113816    return arcReturn;
Note: See TracChangeset for help on using the changeset viewer.