chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] read-u8vector! from tcp port


From: Hans Bulfone
Subject: [Chicken-users] read-u8vector! from tcp port
Date: Tue, 29 Jan 2008 01:38:51 +0100
User-agent: Mutt/1.5.16 (2007-06-09)

hi,

on my system (linux-amd64) when i use read-u8vector! to read from a
port created by tcp-accept or tcp-connect and give #f as LENGTH, i get
the unrealistic error:

out of memory - heap full while resizing - execution terminated

when i use the length of the vector as LENGTH it works as expected.

maybe this is because in tcp.scm in the read-string implementation there
is no check for n being #f, as opposed to e.g. in library.scm in the
definition of ##sys#string-port-class.

bye,
hans.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]