mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
Avoid deprecated _IONBF in http tests
* test-suite/tests/web-http.test ("chunked encoding"): Avoid deprecated _IONBF.
This commit is contained in:
parent
b914c518bd
commit
0290b0594a
1 changed files with 4 additions and 4 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue