manuel-serrano / bigloo

a practical Scheme compiler
http://www-sop.inria.fr/indes/fp/Bigloo
Other
138 stars 19 forks source link

Add the mmap->bstring procedure #4

Closed donaldsonjw closed 6 years ago

donaldsonjw commented 6 years ago

The mmap->bstring procedure properly handles embedded null characters when converting a mmap to a bstring. mmap->string fails in this regard, since it returns a c-string which when converted to a bstring takes the first null character to be the end-of-string.

donaldsonjw commented 6 years ago

I see that CI is failing due to bgl_mmap_to_string not supporting mmaps. I can update the implementation and resubmit.