[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 02/03: Avoid deprecated _IONBF in http tests
From: |
Andy Wingo |
Subject: |
[Guile-commits] 02/03: Avoid deprecated _IONBF in http tests |
Date: |
Wed, 14 Sep 2016 09:28:05 +0000 (UTC) |
wingo pushed a commit to branch master
in repository guile.
commit 0290b0594a2fa40db0de87703efad47e8981e728
Author: Andy Wingo <address@hidden>
Date: Wed Sep 14 11:07:40 2016 +0200
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 762f78c..03bd8b3 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))