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

Commit2beae72

Browse files
committed
Map ERROR_INVALID_NAME to ENOENT in mapping table of win32error.c
This error can be reached when sending an incorrect file name to open()on Windows, resulting in a confusing errno reported. This has been seenin the development of a different patch by the same author.Author: Bharath RupireddyDiscussion:https://postgr.es/m/CALj2ACWet-b8Juba0DiXwfGCyyOcohzwksahE5ebB9rcbLZKCQ@mail.gmail.com
1 parentb6d8a60 commit2beae72

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/port/win32error.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@ static const struct
164164
},
165165
{
166166
ERROR_DELETE_PENDING,ENOENT
167+
},
168+
{
169+
ERROR_INVALID_NAME,ENOENT
167170
}
168171
};
169172

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp