| author | |
| committer | |
| log | 98706c968677caafeb12c56c884b7cc952c696bc |
| tree | 0f956b37b9be96fb548c29c20ef07a9ec9ca5201 |
| parent | b435d7fa6050a8867b7228eeaa71a399a9d8d7c1 |
4 files changed, 6 insertions(+), 6 deletions(-)
lib/std/os/bits/openbsd.zig+1-1| ... | ... | @@ -805,7 +805,7 @@ comptime { |
| 805 | 805 | if (@sizeOf(usize) == 4) |
| 806 | 806 | std.debug.assert(@sizeOf(siginfo_t) == 128) |
| 807 | 807 | else |
| 808 | // Take into account the padding between errno and data fields. | |
| 808 | // Take into account the padding between errno and data fields. | |
| 809 | 809 | std.debug.assert(@sizeOf(siginfo_t) == 136); |
| 810 | 810 | } |
| 811 | 811 |
lib/std/x.zig+1-1| ... | ... | @@ -1 +1 @@ |
| 1 | pub const os = @import("x/os/os.zig"); | |
| \ No newline at end of file | ||
| 1 | pub const os = @import("x/os/os.zig"); |
lib/std/x/os/Socket.zig+3-3| ... | ... | @@ -12,7 +12,7 @@ const Socket = @This(); |
| 12 | 12 | /// A socket-address pair. |
| 13 | 13 | pub const Connection = struct { |
| 14 | 14 | socket: Socket, |
| 15 | address: net.Address, | |
| 15 | address: net.Address, | |
| 16 | 16 | }; |
| 17 | 17 | |
| 18 | 18 | /// The underlying handle of a socket. |
| ... | ... | @@ -231,7 +231,7 @@ test { |
| 231 | 231 | } |
| 232 | 232 | |
| 233 | 233 | test "socket/linux: set read timeout of 1 millisecond on blocking socket" { |
| 234 | if (builtin.os.tag != .linux) return error.SkipZigTest; | |
| 234 | if (builtin.os.tag != .linux) return error.SkipZigTest; | |
| 235 | 235 | |
| 236 | 236 | const a = try Socket.init(os.AF_INET, os.SOCK_STREAM | os.SOCK_CLOEXEC, os.IPPROTO_TCP); |
| 237 | 237 | defer a.deinit(); |
| ... | ... | @@ -273,4 +273,4 @@ test "socket/linux: create non-blocking socket pair" { |
| 273 | 273 | |
| 274 | 274 | const ab = try a.accept(os.SOCK_NONBLOCK | os.SOCK_CLOEXEC); |
| 275 | 275 | defer ab.socket.deinit(); |
| 276 | } | |
| \ No newline at end of file | ||
| 276 | } |
lib/std/x/os/os.zig+1-1| ... | ... | @@ -6,4 +6,4 @@ pub const Socket = @import("Socket.zig"); |
| 6 | 6 | |
| 7 | 7 | test { |
| 8 | 8 | testing.refAllDecls(@This()); |
| 9 | } | |
| \ No newline at end of file | ||
| 9 | } |