[Ecls-list] Fwd: [ANNOUNCE] usocket 0.2.2

Juan Jose Garcia-Ripoll jjgarcia at users.sourceforge.net
Fri Jan 5 19:23:58 UTC 2007


2007/1/4, Erik Huelsmann <ehuels at gmail.com>:
> I tried to send the announcement below, but got refused as a non-subscriber.

Yes, the list is set so as to prevent spam.

> I also want to take the opportunity to report a problem I have with
> ECL: when running the RT tests which come with usocket, a number of
> tests return a list with all values returned by the forms in the progn
> of the test, while other lisp implementations only return the last
> value in the progn. [...]
> The problem can be found by checking out the usocket code from its
> Subversion repository. The only tests failing are the ones which
> exhibit this problem. Looking at the content of the list, the tests
> would normally (without this bug) have succeeded though.
> The RT version I used is the one I got with SBCL, I think. Anyway it
> is unpatched and *not* the one in the ecl repository.

First of all let me tell you that, within my limited time and
possibilities, I am open to helping people port any kind of libraries
to ECL and I am happy to fix any problem.

Now, as for usocket, I checked it out and, apart from the fact that
you were not using the rt from SBCL but the one from b9, your library
does not work for me. Tests do not even run because of this in
test-usocket.lisp

(defparameter *soc1* (usocket::make-socket :socket :my-socket
                                           :stream :my-stream))

where make-socket is defined in usocket.lisp as a function taking only
one keword argument, :socket

(defun make-socket (&key socket)
  "Create a usocket socket type from implementation specific socket."
  (make-stream-socket :socket socket))

What you say about rt, though, is strange. This library is also used
by Paul Dietz's ANSI test suite and it runs perfectly in ECL (I
routinely use it for testing ECL itself).

Juanjo

-- 
Dpto. de Fisica Teorica I, Fac. de CC Fisicas, Universidad Complutense,
Ciudad Universitaria s/n Madrid 2804 (Spain)
http://teorica.fis.ucm.es/~jjgarcia/




More information about the ecl-devel mailing list