ports/security/fakeroot/files/patch-communicate.c
Ganael LAPLANCHE e5c8aabb29 security/fakeroot: Update to 1.37.1.1
Changelog: https://salsa.debian.org/clint/fakeroot/-/blob/upstream/1.37.1.1/debian/changelog?ref_type=tags

While here, update WWW [1]

PR:		285979 [1]
Reported by:	Graham Perrin <grahamperrin@gmail.com> [1]
2025-04-22 12:22:50 +02:00

11 lines
384 B
C

--- communicate.c.orig 2024-12-20 14:24:24 UTC
+++ communicate.c
@@ -482,7 +482,7 @@ static void open_comm_sd(void)
fail("fcntl(F_SETFD, FD_CLOEXEC)");
int val = 1;
- if (setsockopt(comm_sd, SOL_TCP, TCP_NODELAY, &val, sizeof (val)) < 0)
+ if (setsockopt(comm_sd, IPPROTO_TCP, TCP_NODELAY, &val, sizeof (val)) < 0)
fail("setsockopt(TCP_NODELAY)");
while (1) {