I see the problem.  I think there may be another problem if first < -(length s).  Is it best to fix these bugs, or change the documentation?

-Amit

On 10/25/05, Brian Brunswick <brian.brunswick@gmail.com> wrote:
Hi, thanks for extlib!

ExtString.String.slice doesn't live up to its documentation of never
raising an exception. It fails to check if ~last is out of range, and
crashes in String.sub.

Is it best to report bugs here, or in the tracker?

--
Brian_Brunswick____brian@ithil.org____Wit____Disclaimer____!Shortsig_rules!


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
ocaml-lib-devel mailing list
ocaml-lib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ocaml-lib-devel