ecl lisp + with-pointer-to-vector-data

Bug #593138 reported by Stardom
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IOLib
Triaged
Medium
Stelian Ionescu

Bug Description

In the file socket-methods.lisp , and probably others, with-pointer-to-vector-data incorrectly handles the ub8-sarray type, because in cffi-ecl the definition uses si:make-foreign-data-from-array, which cannot handle creating arrays from this type. Its rather limited so instead I used (foreign-alloc :uchar :initial-contents vector) and now only 7 tests fail, none which involve this bug.

Revision history for this message
Stardom (seth-tewebs) wrote :

Oh, and i got it to build on ecl by building ecl with uint64 support and changing the cffi source code to convert :long-long to :uint64-t for ecl and uint64_t for the c version.

Changed in iolib:
importance: Undecided → Medium
milestone: none → 0.8.0
status: New → Triaged
Changed in iolib:
assignee: nobody → Stelian Ionescu (sionescu)
milestone: 0.8.0 → 0.8.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.