Fix rmtree() so that it keeps going after failure to remove any individual

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 2101518516ff6bc2c21b7fb1323a409d09990014
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-04-18T17:05:53Z
Releases: 8.3.2
Fix rmtree() so that it keeps going after failure to remove any individual
file; the idea is that we should clean up as much as we can, even if there's
some problem removing one file.  Make the error messages a bit less misleading,
too.  In passing, const-ify function arguments.

Files

PathChange+/−
src/backend/commands/dbcommands.c modified +4 −4
src/include/port.h modified +3 −3
src/port/dirmod.c modified +46 −31