# fix linux · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/ea1b21dbdb3d5e680b133be68d174dcc0067fa1e)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: ea1b21dbdb3d5e680b133be68d174dcc0067fa1e

Requested commit: ea1b21dbdb3d5e680b133be68d174dcc0067fa1e

Commit: ea1b21dbdb3d5e680b133be68d174dcc0067fa1e

Tree: 88114bd3c7235e8b0478a1e98ddc48b25d013a95

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix linux

 * error.BadFd is not a valid error code. it would always be a bug to
   get this error code.
 * merge error.Io with existing error.InputOutput
 * merge error.PathNotFound with existing error.FileNotFound.
   Not all OS's support both.
 * add os.File.openReadC
 * add error.BadPathName for windows file operations with invalid
   characters
 * add os.toPosixPath to help stack allocate a null terminating byte
 * add some TODOs for other functions to investigate removing the
   allocator requirement
 * optimize some implementations to use the alternate functions when
   a null byte is already available
 * add a missing error.SkipZigTest
 * os.selfExePath uses a non-allocating API
 * os.selfExeDirPath uses a non-allocating API
 * os.path.real uses a non-allocating API
 * add os.path.realAlloc and os.path.realC
 * convert many windows syscalls to use the W versions (See #534)

```

## Parents

- [51852d2587b931767a12d42ce39d5c191eea10ea](https://git.cafe/gitcafe/zig/commit/51852d2587b931767a12d42ce39d5c191eea10ea?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/ea1b21dbdb3d5e680b133be68d174dcc0067fa1e?format=markdown)
