Skip to content

Commit 2505ca2

Browse files
dschoGit for Windows Build Agent
authored andcommitted
Merge branch 'windows-server-2016-support'
2 parents 7285d85 + 9ce01e9 commit 2505ca2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

compat/mingw.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2277,7 +2277,9 @@ int mingw_rename(const char *pold, const char *pnew)
22772277
* current system doesn't support FileRenameInfoEx. Keep us
22782278
* from using it in future calls and retry.
22792279
*/
2280-
if (gle == ERROR_INVALID_PARAMETER || gle == ERROR_NOT_SUPPORTED) {
2280+
if (gle == ERROR_INVALID_PARAMETER ||
2281+
gle == ERROR_NOT_SUPPORTED ||
2282+
gle == ERROR_INVALID_FUNCTION) {
22812283
supports_file_rename_info_ex = 0;
22822284
goto repeat;
22832285
}

0 commit comments

Comments
 (0)