"William A. Rowe, Jr." <[EMAIL PROTECTED]> writes: > > I agree. I'm thinking of rewriting it to leave files behind. I > > suspect the routine could return either APR_SUCCESS (if nothing but > > was left behind), or some not-yet-invented error code that > > specifically means it wasn't able to remove everything. > > should simply return the error that the _remove returned, so if there is > an error, there was some reason it wasn't completed. But it still completes > all that it is allowed.
What if 3 different files in the tree (scattered about) are un-removable for different reasons? This function still removes everything else and finishes its recursion. Which of the three status codes should it return?
