OSDN Git Service

Fix rmtree() so that it keeps going after failure to remove any individual
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 18 Apr 2008 17:05:45 +0000 (17:05 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 18 Apr 2008 17:05:45 +0000 (17:05 +0000)
commitb8e5581d762acceda22dd7347ed43d2e013a6df1
treed86cf7b85b76240859680df5048ba75dcedd5e55
parent9cb91f90c95906347cd4d42fcf24a12a6e6a679e
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.
src/backend/commands/dbcommands.c
src/include/port.h
src/port/dirmod.c