| author | |
| committer | |
| log | 1a492d5156df400d33a00c5717e049e17f514153 |
| tree | 45eb88a9bbe93fe8d4e6ccbf57286a766a822f73 |
| parent | 5a4cc24c0eef08260e26c914828fc960aaa5631b |
This commit reapplies 4f0aa7d639e099b18df583cb984412037fbb1dbe.3 files changed, 3 insertions(+), 3 deletions(-)
lib/std/c/dragonfly.zig+1-1| ... | ... | @@ -204,7 +204,7 @@ pub const W = struct { |
| 204 | 204 | return TERMSIG(s) == 0; |
| 205 | 205 | } |
| 206 | 206 | pub fn IFSTOPPED(s: u32) bool { |
| 207 | return @intCast(u16, (((s & 0xffff) *% 0x10001) >> 8)) > 0x7f00; | |
| 207 | return @truncate(u16, (((s & 0xffff) *% 0x10001) >> 8)) > 0x7f00; | |
| 208 | 208 | } |
| 209 | 209 | pub fn IFSIGNALED(s: u32) bool { |
| 210 | 210 | return (s & 0xffff) -% 1 < 0xff; |
lib/std/c/freebsd.zig+1-1| ... | ... | @@ -431,7 +431,7 @@ pub const W = struct { |
| 431 | 431 | return TERMSIG(s) == 0; |
| 432 | 432 | } |
| 433 | 433 | pub fn IFSTOPPED(s: u32) bool { |
| 434 | return @intCast(u16, (((s & 0xffff) *% 0x10001) >> 8)) > 0x7f00; | |
| 434 | return @truncate(u16, (((s & 0xffff) *% 0x10001) >> 8)) > 0x7f00; | |
| 435 | 435 | } |
| 436 | 436 | pub fn IFSIGNALED(s: u32) bool { |
| 437 | 437 | return (s & 0xffff) -% 1 < 0xff; |
lib/std/os/linux.zig+1-1| ... | ... | @@ -1788,7 +1788,7 @@ pub const W = struct { |
| 1788 | 1788 | return TERMSIG(s) == 0; |
| 1789 | 1789 | } |
| 1790 | 1790 | pub fn IFSTOPPED(s: u32) bool { |
| 1791 | return @intCast(u16, ((s & 0xffff) *% 0x10001) >> 8) > 0x7f00; | |
| 1791 | return @truncate(u16, ((s & 0xffff) *% 0x10001) >> 8) > 0x7f00; | |
| 1792 | 1792 | } |
| 1793 | 1793 | pub fn IFSIGNALED(s: u32) bool { |
| 1794 | 1794 | return (s & 0xffff) -% 1 < 0xff; |