authorgravatar for gubbu@noreply.codeberg.orggubbu <gubbu@noreply.codeberg.org> 2026-08-03 16:07:55+02:00
committergravatar for gubbu@noreply.codeberg.orggubbu <gubbu@noreply.codeberg.org> 2026-08-03 16:14:58+02:00
log4b726207b8eb5a8a0605f3cc164ff0364733c31b
tree71ea7e1cd460d492c2bde73f5d820ef4dfd0ad73
parent39967484d58a33d3c9ee0883dcd782acb63f8a09

fix: NCCS wrong for std.os.linux struct termios/2


1 files changed, 2 insertions(+), 4 deletions(-)

lib/std/os/linux.zig+2-4
...@@ -8181,13 +8181,11 @@ pub const rusage = extern struct {...@@ -8181,13 +8181,11 @@ pub const rusage = extern struct {
81818181
8182pub const NCC = if (is_ppc) 10 else 8;8182pub const NCC = if (is_ppc) 10 else 8;
8183pub const NCCS = if (is_mips)8183pub const NCCS = if (is_mips)
8184 328184 23
8185else if (is_ppc or native_arch == .alpha)
8186 19
8187else if (is_sparc)8185else if (is_sparc)
8188 178186 17
8189else8187else
8190 32;8188 19;
81918189
8192pub const speed_t = if (is_ppc) enum(c_uint) {8190pub const speed_t = if (is_ppc) enum(c_uint) {
8193 B0 = 0x0000000,8191 B0 = 0x0000000,