From: Juho Snellman <jsn...@iki.fi> > Samium Gromoff <_deepf...@feelingofgreen.ru> writes: > >> Good day, >> >> While debugging mysterious ioctl() failures in lh-usb on SBCL, >> I have discovered that using CFFI:WITH-POINTER-TO-VECTOR-DATA >> doesn't guarantee that the vector is in a writable region. > > I thought we'd never write protect specialized raw arrays (either they > are in the nursery, or they're tenured into an unboxed region which > never get wpd). And passing generic arrays to ffi doesn't feel right. > What's the use case?
Array element type is (unsigned-byte 8), use case is shovelling data in/out a USB device using bulk transfers via ioctl(). regards, Samium Gromoff -- _deepfire-at-feelingofgreen.ru O< ascii ribbon campaign - stop html mail - www.asciiribbon.org _______________________________________________ cffi-devel mailing list cffi-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel