Forked from
cmucl / cmucl
Source project has a limited visibility.
-
pmai authored
didn't check whether the specified element-type was a subtype of the array-element-type of the displaced-to array. o One case in ADJUST-ARRAY didn't check for an array-header before calling %array-displaced-p on an array, so that sometimes an array element was accessed and checked instead. Fixed this, and prevented ADJUST-ARRAY from shrinking non-adjustable arrays in-place, since this can violate naive user expectations for little gain.
pmai authoreddidn't check whether the specified element-type was a subtype of the array-element-type of the displaced-to array. o One case in ADJUST-ARRAY didn't check for an array-header before calling %array-displaced-p on an array, so that sometimes an array element was accessed and checked instead. Fixed this, and prevented ADJUST-ARRAY from shrinking non-adjustable arrays in-place, since this can violate naive user expectations for little gain.