Fix thinko in comment.

This commit is contained in:
Tom Lane 2005-12-08 15:38:29 +00:00
parent faacdab101
commit f38c3e778a

View File

@ -7,7 +7,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/storage/file/fd.c,v 1.123 2005/12/01 20:24:18 tgl Exp $ * $PostgreSQL: pgsql/src/backend/storage/file/fd.c,v 1.124 2005/12/08 15:38:29 tgl Exp $
* *
* NOTES: * NOTES:
* *
@ -1405,7 +1405,7 @@ TryAgain:
* dir = AllocateDir(path); * dir = AllocateDir(path);
* while ((dirent = ReadDir(dir, path)) != NULL) * while ((dirent = ReadDir(dir, path)) != NULL)
* process dirent; * process dirent;
* FreeDir(path); * FreeDir(dir);
* *
* since a NULL dir parameter is taken as indicating AllocateDir failed. * since a NULL dir parameter is taken as indicating AllocateDir failed.
* (Make sure errno hasn't been changed since AllocateDir if you use this * (Make sure errno hasn't been changed since AllocateDir if you use this