Am 29.02.2012 14:31, schrieb Sergei Gorelkin:

The current situation where out of range 'length' parameter is adjusted
but 'index' out of range raises exception is simply self-inconsistent.
It is also inconsistent with behavior of Copy for strings.
Adjusting index will neither cause any buffer overflows nor make code
slower, so it should be fixed.

Agreed, please fix it.

Martin
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to