Share

Scsh - a Scheme shell

Tracker: Bugs

5 receive-message, receive-message! bug - ID: 432565
Last Update: Comment added ( mainzelm )

From: Gary Houston <scsh-special@arglist.com>
To: scsh-bugs@zurich.ai.mit.edu
Subject: receive-message, receive-message! bug in scsh
0.5.3
Date: 12 Jun 2001 21:20:20 -0000

This is old, but I don't think I ever reported it to
scsh-bugs.

receive-message! usually returns a single value, the
number of bytes
read from a socket. According to the manual, it's
supposed to return
two values: the number of bytes and the remote
address. It does
return the two values when it gets EOF on the socket.

It's this line in generic-receive-message! that
returns the single value:

(if (>= i end) (- i start)

A consequence of this bug is that receive-message
usually fails since
it calls "receive-message!" and expects to get two
values.







Brian D. Carlstrom ( bdc ) - 2001-06-12 22:26

5

Closed

Fixed

Brian D. Carlstrom

run-time

None

Public


Comment ( 1 )




Date: 2001-09-17 19:18
Sender: mainzelmProject Admin

Logged In: YES
user_id=17553

Fixed in 0.6 and 0.5.


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2001-09-17 19:18 mainzelm
resolution_id None 2001-09-17 19:18 mainzelm
close_date - 2001-09-17 19:18 mainzelm