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

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

Commit: b8e5581d762acceda22dd7347ed43d2e013a6df1
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-04-18T17:05:45Z
Releases: 8.4.0
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