Ignore:
Timestamp:
Mar 27, 2007, 10:10:18 PM (18 years ago)
Author:
pr
Message:

Allow NULL params. in doshDeleteDir.

File:
1 edited

Legend:

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

    r317 r350  
    3030
    3131/*
    32  *      This file Copyright (C) 1997-2006 Ulrich M”ller.
     32 *      This file Copyright (C) 1997-2007 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
     
    34983498 *
    34993499 *@@added V0.9.4 (2000-07-01) [umoeller]
     3500 *@@changed WarpIN V1.0.15 (2007-03-27) [pr]: allow NULL pulDirs and pulFiles
    35003501 */
    35013502
     
    35593560                        // (this is what OS/2 reports with DosDeleteDir as well)
    35603561                        arcReturn = ERROR_ACCESS_DENIED;  // 5
    3561                         (*pulDirs)++;
     3562                        if (pulDirs)  // WarpIN V1.0.15 (2007-03-27) [pr]
     3563                            (*pulDirs)++;
    35623564                    }
    35633565                }
     
    35673569                // it's a file:
    35683570                arcReturn = ERROR_ACCESS_DENIED;
    3569                 (*pulFiles)++;
     3571                if (pulFiles)  // WarpIN V1.0.15 (2007-03-27) [pr]
     3572                    (*pulFiles)++;
    35703573            }
    35713574
Note: See TracChangeset for help on using the changeset viewer.