From ba35edb100b3383bd1b9a89f92ded74ae40e5357 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Mon, 2 Mar 2026 12:20:52 +0000 Subject: build-self: Setup buffering for the store socket. In the case where port->connection is used, since this doesn't setup buffering. * build-aux/build-self.scm (build-program): Setup buffering for the store socket. Change-Id: I822bb628e92d1070e78a2ad9e95665ca2ff4a351 --- build-aux/build-self.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build-aux/build-self.scm b/build-aux/build-self.scm index fdb974bde86..b0a427698fa 100644 --- a/build-aux/build-self.scm +++ b/build-aux/build-self.scm @@ -169,6 +169,13 @@ build daemon, from within the generated build program." ;; build output. (connect sock AF_UNIX build-output) + (when (integer? proto) + ;; port->connection doesn't setup buffering, so + ;; do this here + (setvbuf (store-connection-socket store) + 'block + %default-store-connection-buffer-size)) + (display (and=> ;; Silence autoload warnings and the likes. -- cgit v1.3