]> Sergey Matveev's repositories - public-inbox.git/commit
syscall: more idiomatic cmsghdr space allocation
authorEric Wong <e@80x24.org>
Mon, 18 Apr 2022 09:50:02 +0000 (09:50 +0000)
committerEric Wong <e@80x24.org>
Mon, 18 Apr 2022 21:53:46 +0000 (21:53 +0000)
commitf9a8fba3102362e07dc27bde8e2bc7bd2a42a1ed
tree4d883e17fc680b545b6bdb26ac80f8bfc70366fa
parent6b52fe53a1f9e69a6ecfce16216a1fa180e4645f
syscall: more idiomatic cmsghdr space allocation

Since we know the space required under Linux, we can use the
same initialization as the Inline::C version instead of
hard-coding 256 as we do for Socket::MsgHdr.
lib/PublicInbox/Syscall.pm