Re: Is this a bug in 'read-vector?

Raymond Toy <[email protected]>
Newsgroups gmane.lisp.cmucl.general
Message-ID <[email protected]>
>>>>> "Jeffrey" == Jeffrey Cunningham <[email protected]> writes:

    Jeffrey> I have been trying to read large binary files of floating point data
    Jeffrey> using CMUCL (19c). I thought I would have to do it using some form of
    Jeffrey> FFI and went to comp.lang.lisp for help getting that working. I
    Jeffrey> succeeded. But Duane Rettig at Allegro suggested it would be easier to
    Jeffrey> use 'read-vector. So I tried that as follows:

    Jeffrey> (let ((vec (make-array 10 :element-type 'double-float)))
    Jeffrey>   (with-open-file (os "d10.bin")
    Jeffrey>     (read-vector vec os)
    Jeffrey>     (print vec)))

[snip]

    Jeffrey> Is this really a bug? Or am I doing something else wrong?

Could you file a bug report at http://trac.common-lisp.net/cmucl?

Thanks,

Ray
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.