rmtree cleanup

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: rmtree cleanup
Date: 2004-10-28 14:33:34
Message-ID: 4181033E.2060104@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


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

Attachment Content-Type Size
rmtree.patch text/x-patch 3.6 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Devrim GUNDUZ 2004-10-28 16:11:41 New Turkish translations for 7.4 branch + an update for 8.0
Previous Message Tom Lane 2004-10-28 14:17:51 Re: transformExpr() refactor