[patch] System.Delete(wide-or-unicodestring, *, MaxInt) fails.
Original Reporter info from Mantis: Gorelkin
-
Reporter name: Sergei Gorelkin
Original Reporter info from Mantis: Gorelkin
- Reporter name: Sergei Gorelkin
Description:
Delete() procedure must accept Size argument that exceeds length of the string, and MaxInt in particular.
This is true for short- and ansistrings, but not for wide- and unicodestrings.
A patch and testcase is attached (the patch is basically a copypaste of ansistring version of Delete()).
Mantis conversion info:
- Mantis ID: 17514
- Version: 2.5.1
- Fixed in version: 2.4.4
- Fixed in revision: 16422 (#0379e000)