mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-05 08:50:49 -08:00
Hack to make fdopen() work with socks
This commit is contained in:
parent
5bd56c2787
commit
71d1f22081
1 changed files with 1 additions and 0 deletions
|
|
@ -2820,6 +2820,7 @@ ecl_make_stream_from_fd(cl_object fname, int fd, enum ecl_smmode smm)
|
|||
#endif
|
||||
stream->stream.object1 = fname; /* not really used */
|
||||
stream->stream.int0 = stream->stream.int1 = 0;
|
||||
setbuf(fp, NULL);
|
||||
#if !defined(GBC_BOEHM)
|
||||
setbuf(fp, NULL);
|
||||
setbuf(fp, stream->stream.buffer = cl_alloc_atomic(BUFSIZ));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue