| ... | ... | @@ -73,7 +73,7 @@ pub const Argv0 = switch (native_os) { |
| 73 | 73 | pub const empty: Argv0 = .{ .value = null }; |
| 74 | 74 | |
| 75 | 75 | pub fn init(args: process.Args) Argv0 { |
| 76 | | return .{ .value = args.value[0] }; |
| 76 | return .{ .value = args.vector[0] }; |
| 77 | 77 | } |
| 78 | 78 | }, |
| 79 | 79 | else => struct { |
| ... | ... | @@ -1181,7 +1181,7 @@ pub const InitOptions = struct { |
| 1181 | 1181 | concurrent_limit: Io.Limit = .unlimited, |
| 1182 | 1182 | /// Affects the following operations: |
| 1183 | 1183 | /// * `processExecutablePath` on OpenBSD and Haiku. |
| 1184 | | argv0: Argv0 = .{}, |
| 1184 | argv0: Argv0 = .empty, |
| 1185 | 1185 | /// Affects the following operations: |
| 1186 | 1186 | /// * `fileIsTty` |
| 1187 | 1187 | /// * `processExecutablePath` on OpenBSD and Haiku (observes "PATH"). |
| ... | ... | @@ -1251,7 +1251,7 @@ pub const init_single_threaded: Threaded = .{ |
| 1251 | 1251 | .old_sig_io = undefined, |
| 1252 | 1252 | .old_sig_pipe = undefined, |
| 1253 | 1253 | .have_signal_handler = false, |
| 1254 | | .argv0 = .{}, |
| 1254 | .argv0 = .empty, |
| 1255 | 1255 | .environ = .{}, |
| 1256 | 1256 | .worker_threads = .init(null), |
| 1257 | 1257 | }; |