authorgravatar for kenta@lithdew.netlithdew <kenta@lithdew.net> 2021-04-22 14:53:44+09:00
committergravatar for kenta@lithdew.netlithdew <kenta@lithdew.net> 2021-04-25 21:15:02+09:00
log98706c968677caafeb12c56c884b7cc952c696bc
tree0f956b37b9be96fb548c29c20ef07a9ec9ca5201
parentb435d7fa6050a8867b7228eeaa71a399a9d8d7c1

x: fmt source code


4 files changed, 6 insertions(+), 6 deletions(-)

lib/std/os/bits/openbsd.zig+1-1
......@@ -805,7 +805,7 @@ comptime {
805805 if (@sizeOf(usize) == 4)
806806 std.debug.assert(@sizeOf(siginfo_t) == 128)
807807 else
808 // Take into account the padding between errno and data fields.
808 // Take into account the padding between errno and data fields.
809809 std.debug.assert(@sizeOf(siginfo_t) == 136);
810810}
811811
lib/std/x.zig+1-1
......@@ -1 +1 @@
1pub const os = @import("x/os/os.zig");
\ No newline at end of file
1pub const os = @import("x/os/os.zig");
lib/std/x/os/Socket.zig+3-3
......@@ -12,7 +12,7 @@ const Socket = @This();
1212/// A socket-address pair.
1313pub const Connection = struct {
1414 socket: Socket,
15 address: net.Address,
15 address: net.Address,
1616};
1717
1818/// The underlying handle of a socket.
......@@ -231,7 +231,7 @@ test {
231231}
232232
233233test "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;
235235
236236 const a = try Socket.init(os.AF_INET, os.SOCK_STREAM | os.SOCK_CLOEXEC, os.IPPROTO_TCP);
237237 defer a.deinit();
......@@ -273,4 +273,4 @@ test "socket/linux: create non-blocking socket pair" {
273273
274274 const ab = try a.accept(os.SOCK_NONBLOCK | os.SOCK_CLOEXEC);
275275 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");
66
77test {
88 testing.refAllDecls(@This());
9}
\ No newline at end of file
9}