Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf38c3e7

Browse files
committed
Fix thinko in comment.
1 parentfaacdab commitf38c3e7

File tree

1 file changed

+2
-2
lines changed
  • src/backend/storage/file

1 file changed

+2
-2
lines changed

‎src/backend/storage/file/fd.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
99
* IDENTIFICATION
10-
* $PostgreSQL: pgsql/src/backend/storage/file/fd.c,v 1.123 2005/12/01 20:24:18 tgl Exp $
10+
* $PostgreSQL: pgsql/src/backend/storage/file/fd.c,v 1.124 2005/12/08 15:38:29 tgl Exp $
1111
*
1212
* NOTES:
1313
*
@@ -1405,7 +1405,7 @@ AllocateDir(const char *dirname)
14051405
*dir = AllocateDir(path);
14061406
*while ((dirent = ReadDir(dir, path)) != NULL)
14071407
*process dirent;
1408-
*FreeDir(path);
1408+
*FreeDir(dir);
14091409
*
14101410
* since a NULL dir parameter is taken as indicating AllocateDir failed.
14111411
* (Make sure errno hasn't been changed since AllocateDir if you use this

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp