tests: Work around Guile bug with unbuffered custom binary input ports.
Reported by Chris Marusich <cmmarusich@gmail.com> at <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24060#19> * tests/publish.scm (http-get-port): Remove 'setvbuf' call for the response port.
This commit is contained in:
parent
e2b12a55c1
commit
2c7b48c2fb
|
@ -66,7 +66,8 @@
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(http-get uri #:port socket #:streaming? #t))
|
(http-get uri #:port socket #:streaming? #t))
|
||||||
(lambda (response port)
|
(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))))
|
port))))
|
||||||
|
|
||||||
(define (publish-uri route)
|
(define (publish-uri route)
|
||||||
|
|
Loading…
Reference in New Issue