1
Fork 0

keep_sigpipe

we want the unix-y sigpipe handler.
This commit is contained in:
Motiejus Jakštys 2023-02-24 15:22:40 +02:00
parent 8d6e8aa4bd
commit f55fb9f86a
4 changed files with 16 additions and 0 deletions

View File

@ -11,6 +11,10 @@ const ArrayList = std.ArrayList;
const Allocator = std.mem.Allocator;
const BoundedArray = std.BoundedArray;
pub const std_options = struct {
pub const keep_sigpipe = true;
};
const flags = @import("flags.zig");
const compress = @import("compress.zig");
const DB = @import("DB.zig");

View File

@ -13,6 +13,10 @@ const PackedUser = @import("PackedUser.zig");
const PackedGroup = @import("PackedGroup.zig");
const User = @import("User.zig");
pub const std_options = struct {
pub const keep_sigpipe = true;
};
const Mode = enum { group, passwd };
const usage =

View File

@ -11,6 +11,10 @@ const ArrayList = std.ArrayList;
const Allocator = std.mem.Allocator;
const BoundedArray = std.BoundedArray;
pub const std_options = struct {
pub const keep_sigpipe = true;
};
const flags = @import("flags.zig");
const User = @import("User.zig");
const PackedUser = @import("PackedUser.zig");

View File

@ -7,6 +7,10 @@ const heap = std.heap;
const ArrayList = std.ArrayList;
const Allocator = std.mem.Allocator;
pub const std_options = struct {
pub const keep_sigpipe = true;
};
const flags = @import("flags.zig");
const User = @import("User.zig");
const Group = @import("Group.zig");