pgsql: Add ERROR_NO_MORE_FILES workaround to check_data_dir().

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add ERROR_NO_MORE_FILES workaround to check_data_dir().
Date: 2005-08-02 15:16:29
Message-ID: 20050802151629.806BC52F28@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Add ERROR_NO_MORE_FILES workaround to check_data_dir(). This may or
may not be obsolete, but since every other readdir loop in our code
has it, I think this should too.

Modified Files:
--------------
pgsql/src/bin/initdb:
initdb.c (r1.93 -> r1.94)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/initdb/initdb.c.diff?r1=1.93&r2=1.94)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-08-02 15:17:25 pgsql: Use ReadDir() not readdir() so as to have some modicum of error
Previous Message Tom Lane 2005-08-02 15:14:56 pgsql: rmtree() reported the wrong pathname if final rmdir failed.