From 0290b0594a2fa40db0de87703efad47e8981e728 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Wed, 14 Sep 2016 11:07:40 +0200 Subject: [PATCH] Avoid deprecated _IONBF in http tests * test-suite/tests/web-http.test ("chunked encoding"): Avoid deprecated _IONBF. --- test-suite/tests/web-http.test | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test-suite/tests/web-http.test b/test-suite/tests/web-http.test index 762f78c60..03bd8b35b 100644 --- a/test-suite/tests/web-http.test +++ b/test-suite/tests/web-http.test @@ -413,8 +413,8 @@ (input (make-custom-binary-input-port "chunky" read! #f #f #f)) (port (make-chunked-input-port input))) - (setvbuf input _IONBF) - (setvbuf port _IONBF) + (setvbuf input 'none) + (setvbuf port 'none) (list (utf8->string (get-bytevector-n port 6)) (utf8->string (get-bytevector-n port 6)) (utf8->string (get-bytevector-n port 7)) @@ -437,8 +437,8 @@ (input (make-custom-binary-input-port "chunky" read! #f #f #f)) (port (make-chunked-input-port input))) - (setvbuf input _IONBF) - (setvbuf port _IONBF) + (setvbuf input 'none) + (setvbuf port 'none) (list (utf8->string (get-bytevector-n port 6)) (utf8->string (get-bytevector-n port 13)) (utf8->string (get-bytevector-n port 6))