keep_sigpipe
we want the unix-y sigpipe handler.
This commit is contained in:
parent
8d6e8aa4bd
commit
f55fb9f86a
@ -11,6 +11,10 @@ const ArrayList = std.ArrayList;
|
|||||||
const Allocator = std.mem.Allocator;
|
const Allocator = std.mem.Allocator;
|
||||||
const BoundedArray = std.BoundedArray;
|
const BoundedArray = std.BoundedArray;
|
||||||
|
|
||||||
|
pub const std_options = struct {
|
||||||
|
pub const keep_sigpipe = true;
|
||||||
|
};
|
||||||
|
|
||||||
const flags = @import("flags.zig");
|
const flags = @import("flags.zig");
|
||||||
const compress = @import("compress.zig");
|
const compress = @import("compress.zig");
|
||||||
const DB = @import("DB.zig");
|
const DB = @import("DB.zig");
|
||||||
|
@ -13,6 +13,10 @@ const PackedUser = @import("PackedUser.zig");
|
|||||||
const PackedGroup = @import("PackedGroup.zig");
|
const PackedGroup = @import("PackedGroup.zig");
|
||||||
const User = @import("User.zig");
|
const User = @import("User.zig");
|
||||||
|
|
||||||
|
pub const std_options = struct {
|
||||||
|
pub const keep_sigpipe = true;
|
||||||
|
};
|
||||||
|
|
||||||
const Mode = enum { group, passwd };
|
const Mode = enum { group, passwd };
|
||||||
|
|
||||||
const usage =
|
const usage =
|
||||||
|
@ -11,6 +11,10 @@ const ArrayList = std.ArrayList;
|
|||||||
const Allocator = std.mem.Allocator;
|
const Allocator = std.mem.Allocator;
|
||||||
const BoundedArray = std.BoundedArray;
|
const BoundedArray = std.BoundedArray;
|
||||||
|
|
||||||
|
pub const std_options = struct {
|
||||||
|
pub const keep_sigpipe = true;
|
||||||
|
};
|
||||||
|
|
||||||
const flags = @import("flags.zig");
|
const flags = @import("flags.zig");
|
||||||
const User = @import("User.zig");
|
const User = @import("User.zig");
|
||||||
const PackedUser = @import("PackedUser.zig");
|
const PackedUser = @import("PackedUser.zig");
|
||||||
|
@ -7,6 +7,10 @@ const heap = std.heap;
|
|||||||
const ArrayList = std.ArrayList;
|
const ArrayList = std.ArrayList;
|
||||||
const Allocator = std.mem.Allocator;
|
const Allocator = std.mem.Allocator;
|
||||||
|
|
||||||
|
pub const std_options = struct {
|
||||||
|
pub const keep_sigpipe = true;
|
||||||
|
};
|
||||||
|
|
||||||
const flags = @import("flags.zig");
|
const flags = @import("flags.zig");
|
||||||
const User = @import("User.zig");
|
const User = @import("User.zig");
|
||||||
const Group = @import("Group.zig");
|
const Group = @import("Group.zig");
|
||||||
|
Loading…
Reference in New Issue
Block a user