[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/05: herd: Use the Guile 2.2 'setvbuf' API.
From: |
guix-commits |
Subject: |
04/05: herd: Use the Guile 2.2 'setvbuf' API. |
Date: |
Sat, 1 Jun 2019 19:38:44 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit bb64b2e7c0ab14cf899c1d81892b59fa877d4d9c
Author: Ludovic Courtès <address@hidden>
Date: Sun Jun 2 01:30:42 2019 +0200
herd: Use the Guile 2.2 'setvbuf' API.
* gnu/services/herd.scm (open-connection): Use 'block for 'setvbuf'.
---
gnu/services/herd.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/services/herd.scm b/gnu/services/herd.scm
index 9fe757f..0008746 100644
--- a/gnu/services/herd.scm
+++ b/gnu/services/herd.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2016, 2017, 2018 Ludovic Courtès <address@hidden>
+;;; Copyright © 2016, 2017, 2018, 2019 Ludovic Courtès <address@hidden>
;;; Copyright © 2017 Mathieu Othacehe <address@hidden>
;;;
;;; This file is part of GNU Guix.
@@ -76,7 +76,7 @@ return the socket."
(catch 'system-error
(lambda ()
(connect sock address)
- (setvbuf sock _IOFBF 1024)
+ (setvbuf sock 'block 1024)
sock)
(lambda args
(close-port sock)