guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: tests: Work around Guile bug with unbuffered custom binary input


From: Ludovic Courtès
Subject: 01/03: tests: Work around Guile bug with unbuffered custom binary input ports.
Date: Tue, 2 Aug 2016 16:07:29 +0000 (UTC)

civodul pushed a commit to branch master
in repository guix.

commit 2c7b48c2fbccc0b2fc09ae055ce5b32f3fe6b441
Author: Ludovic Courtès <address@hidden>
Date:   Tue Aug 2 17:31:45 2016 +0200

    tests: Work around Guile bug with unbuffered custom binary input ports.
    
    Reported by Chris Marusich <address@hidden>
    at <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24060#19>
    
    * tests/publish.scm (http-get-port): Remove 'setvbuf' call for the
    response port.
---
 tests/publish.scm |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/publish.scm b/tests/publish.scm
index 7499553..99d341d 100644
--- a/tests/publish.scm
+++ b/tests/publish.scm
@@ -66,7 +66,8 @@
         (lambda ()
           (http-get uri #:port socket #:streaming? #t))
       (lambda (response port)
-        (setvbuf port _IONBF)
+        ;; Don't (setvbuf port _IONBF) because of <http://bugs.gnu.org/19610>
+        ;; (PORT might be a custom binary input port).
         port))))
 
 (define (publish-uri route)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]