diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-10-16 15:10:38 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-10-16 15:24:48 -0400 |
| commit | 8cf3a4d586b675a239c9cfa1ea07fa9f59ebf0a4 (patch) | |
| tree | 8237d284aec8fc023b6fb17b058a5eae992e64ad /src/parser.cpp | |
| parent | 10f6176f3dea426d97b19e7d890947b5e07346af (diff) | |
| download | zig-8cf3a4d586b675a239c9cfa1ea07fa9f59ebf0a4.tar.gz zig-8cf3a4d586b675a239c9cfa1ea07fa9f59ebf0a4.zip | |
[breaking] standardize std.os execve functions
* `std.os.execve` had the wrong name; it should have been
`std.os.execvpe`. This is now corrected.
* introduce `std.os.execveC` which does not look at PATH, and uses
null terminated parameters, matching POSIX ABIs. It does not
require an allocator.
* fix typo nonsense doc comment in `std.fs.MAX_PATH_BYTES`.
* introduce `std.os.execvpeC`, which is like `execvpe` except it
uses null terminated parameters, matching POSIX ABIs, and thus
does not require an allocator.
* `std.os.execvpe` implementation is reworked to only convert
parameters and then delegate to `std.os.execvpeC`.
* `std.os.execvpeC` improved to handle `ENOTDIR`. See #3415
Diffstat (limited to 'src/parser.cpp')
0 files changed, 0 insertions, 0 deletions
