From 92ec24f77c6c146fd9943a41b055603ff1e442a5 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Mon, 30 Nov 2020 18:49:41 +0100 Subject: std/os: remove unneeded error from accept errorset POSIX compliant fnctl cannot return EPERM when getting/setting the given flags. See the specification here: https://pubs.opengroup.org/onlinepubs/9699919799/functions/fcntl.html --- lib/std/net.zig | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/std/net.zig') diff --git a/lib/std/net.zig b/lib/std/net.zig index 1466635ff0..256a1f5cf9 100644 --- a/lib/std/net.zig +++ b/lib/std/net.zig @@ -1661,10 +1661,6 @@ pub const StreamServer = struct { /// Firewall rules forbid connection. BlockedByFirewall, - /// Permission to create a socket of the specified type and/or - /// protocol is denied. - PermissionDenied, - FileDescriptorNotASocket, ConnectionResetByPeer, -- cgit v1.2.3