On Mon, Jul 21, 2008 at 7:22 PM, Chun Tian (binghe)
<[EMAIL PROTECTED]> wrote:
Hi, Erik

On SBCL (I'm using 1.0.18.x), HOST-TO-HBO cannot work for string:

* (usocket::host-to-hbo "localhost")

debugger invoked on a SB-KERNEL:CASE-FAILURE:
#(127 0 0 1) fell through ETYPECASE expression.
Wanted one of (INTEGER (VECTOR T 4) STRING).

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
0: [ABORT] Exit debugger, returning to top level.

This is because SBCL return #(127 0 0 1) as type (simple-array
(unsigned-byte 8) (4)), it's not a subtype of (VECTOR T 4).

An solution is add more type to the ETYPECASE of HOST-TO-HBO: (and
HOST-TO-VECTOR-QUAD)

Thanks for the report! Committed just a second ago (finally!).

I'll backport it to 0.4.x and 0.3.x. When there's enough 0.3.x
material, I can do another release. However, I suppose you found this
issue because of your UDP work?

Thanks, and Yes.

Seems you have merged the new-wfi branch, I'll test these new trunk code soon.

Can I ask, when will you make the first 0.4.x release? Is there still anything to do?

--binghe

_______________________________________________
usocket-devel mailing list
usocket-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/usocket-devel

Reply via email to