diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-12-06 17:23:07 -0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-12-23 22:15:07 -0800 |
| commit | 3204fb756980c19b7a95534acdd7a1bba837fbc3 (patch) | |
| tree | 45b5525ead2923de83ea85eacca351da64d55c46 /lib/std/process | |
| parent | 1b1fb7fab623e40f4ddc24d7b5ef7e48949e8a17 (diff) | |
| download | zig-3204fb756980c19b7a95534acdd7a1bba837fbc3.tar.gz zig-3204fb756980c19b7a95534acdd7a1bba837fbc3.zip | |
update all occurrences of std.fs.File to std.Io.File
Diffstat (limited to 'lib/std/process')
| -rw-r--r-- | lib/std/process/Child.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/process/Child.zig b/lib/std/process/Child.zig index be3026ff10..87d2fe3ba9 100644 --- a/lib/std/process/Child.zig +++ b/lib/std/process/Child.zig @@ -8,7 +8,7 @@ const Io = std.Io; const unicode = std.unicode; const fs = std.fs; const process = std.process; -const File = std.fs.File; +const File = std.Io.File; const windows = std.os.windows; const linux = std.os.linux; const posix = std.posix; @@ -1055,7 +1055,7 @@ fn forkChildErrReport(fd: i32, err: ChildProcess.SpawnError) noreturn { fn writeIntFd(fd: i32, value: ErrInt) !void { var buffer: [8]u8 = undefined; - var fw: std.fs.File.Writer = .initStreaming(.{ .handle = fd }, &buffer); + var fw: File.Writer = .initStreaming(.{ .handle = fd }, &buffer); fw.interface.writeInt(u64, value, .little) catch unreachable; fw.interface.flush() catch return error.SystemResources; } |
