I've applied the previous fix to pdl_grow and a similar one to pdl_malloc changing the type for the number of bytes from int to STRLEN.
That should allow for pdls larger than 2GiB (but with fewer than 2**31 elements). See the following discussion on the perldl mailing list for background: http://mailman.jach.hawaii.edu/pipermail/perldl/2010-August/004188.html Please test. Feedback and contributions welcome. E.g., it would be useful to have some tests in the PDL test suite to verify the correct operation with large size piddles. Cheers, Chris _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
