Project

General

Profile

« Previous | Next » 

Revision 07e89bde

Added by peterzhu2118 (Peter Zhu) 7 months ago

Fix MEMMOVE in rb_darray_insert

Ruby's MEMMOVE takes in the element data type for the third argument, not
the size of the element. What this did was do sizeof(sizeof( ... )) which
always returned sizeof(size_t).