[PATCHES] rmtree cleanup

2004-10-28 Thread Andrew Dunstan
The attached patch cleans up src/port/dirmod.c::rmtree() a bit. It moves the filename finding portion into its own function, and in that function only scans the directory once instead of twice. cheers andrew Index: src/port/dirmod.c

Re: [PATCHES] rmtree cleanup

2004-10-28 Thread Andrew Dunstan
Tom Lane wrote: Andrew Dunstan [EMAIL PROTECTED] writes: The attached patch cleans up src/port/dirmod.c::rmtree() a bit. It moves the filename finding portion into its own function, and in that function only scans the directory once instead of twice. Applied, along with some further