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

Commit37ca385

Browse files
committed
Do ont check file name in FileIsNotOpen
1 parent9654a5d commit37ca385

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ session_local intmax_safe_fds = 32;/* default if not changed */
162162
#defineVFD_CLOSED (-1)
163163

164164
#defineFileIsValid(file) \
165-
((file) > 0 && (file) < (int) SizeVfdCache && VfdCache[file]->fileName != NULL)
165+
((file) > 0 && (file) < (int) SizeVfdCache)
166166

167167
#defineFileIsNotOpen(file) (VfdCache[file]->fd == VFD_CLOSED)
168168

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp