Skip to content

Commit aa22998

Browse files
derrickstoleeGit for Windows Build Agent
authored andcommitted
Replace path walk feature with upstream version
Signed-off-by: Derrick Stolee <[email protected]>
2 parents 8f75b51 + 5df6900 commit aa22998

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
@@ -2916,7 +2916,9 @@ int mingw_rename(const char *pold, const char *pnew)
29162916
* current system doesn't support FileRenameInfoEx. Keep us
29172917
* from using it in future calls and retry.
29182918
*/
2919-
if (gle == ERROR_INVALID_PARAMETER || gle == ERROR_NOT_SUPPORTED) {
2919+
if (gle == ERROR_INVALID_PARAMETER ||
2920+
gle == ERROR_NOT_SUPPORTED ||
2921+
gle == ERROR_INVALID_FUNCTION) {
29202922
supports_file_rename_info_ex = 0;
29212923
goto repeat;
29222924
}

0 commit comments

Comments
 (0)