diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-02-26 23:02:57 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-02-26 23:02:57 -0500 |
| commit | c59ce046a0ad468ac3f80c2d43ffa056772df7f1 (patch) | |
| tree | 4a350196d705cafca235ec608ba18575dcb9bce6 /src/error.cpp | |
| parent | 22dd0db9bf18e225799e8540ec27451fc48ea86e (diff) | |
| download | zig-c59ce046a0ad468ac3f80c2d43ffa056772df7f1.tar.gz zig-c59ce046a0ad468ac3f80c2d43ffa056772df7f1.zip | |
windows returns EINVAL for fopen when there is an asterisk in the name
closes #508
Diffstat (limited to 'src/error.cpp')
| -rw-r--r-- | src/error.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/error.cpp b/src/error.cpp index 80f7963538..17d44bffed 100644 --- a/src/error.cpp +++ b/src/error.cpp @@ -42,6 +42,7 @@ const char *err_str(Error err) { case ErrorUnknownArchitecture: return "unrecognized architecture"; case ErrorUnknownOperatingSystem: return "unrecognized operating system"; case ErrorUnknownABI: return "unrecognized C ABI"; + case ErrorInvalidFilename: return "invalid filename"; } return "(invalid error)"; } |
