windows returns EINVAL for fopen when there is an asterisk in the name
closes #508
This commit is contained in:
@@ -1099,7 +1099,7 @@ Error os_fetch_file_path(Buf *full_path, Buf *out_contents, bool skip_shebang) {
|
||||
case EINTR:
|
||||
return ErrorInterrupted;
|
||||
case EINVAL:
|
||||
zig_unreachable();
|
||||
return ErrorInvalidFilename;
|
||||
case ENFILE:
|
||||
case ENOMEM:
|
||||
return ErrorSystemResources;
|
||||
|
||||
Reference in New Issue
Block a user