contrib/sockets.lisp's SOCKET-MAKE-STREAM expects :BUFFERING-MODE key with a
default of NIL, where:
NIL means no buffering (the default)
:LINE-BUFFERED is line-buffered
:FULLY-BUFFERED is fully buffered.
However, SBCL's SOCKET-MAKE-STREAM expects a :BUFFERING with a default of :FULL,
:NONE is unbuffered
:LINE is line buffered
:FULL is fully buffered.
The attached diff is believed to make SOCKET-MAKE-STREAM SBCL-compatible on ECL
Two other incompatibilities subsist, however, which this does not address:
- On SBCL, (require :SB-BSD-SOCKETS) is used when on ECL (require :SOCKETS)
- On SBCL there also now is ADDRINFO which is also declared as FEATURE and
is a better interface than the deprecated gethostbyname/gethostbyaddr.
Unfortunately, trackig open PRs seem to require a sourceforge account.
I'll try to bookmark a link to this PR and manually track it for now.