[FIX] fcsStringTruncate

Frank Sergeant frank at canyon-medical.com
Sun Jan 20 22:37:28 UTC 2002


from preamble:

"Change Set:		fcsStringTruncate
Date:			20 January 2002
Author:			Frank Sergeant

SequenceableCollection>>forceTo:paddingStartWith: blows up (at least in
version 3.2a-4599) when shortening the string
 'catfish' forceTo: 5 paddingStartWith: $*

This change set fixes it.  See the test in
SequenceableCollection>>testPadLeft.  (Is the fix in the right place or
is there a problem with either the primitive or fall through code in
String>>replaceFrom:to:with:startingAt: ?)
"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fcsStringTruncate.cs.gz
Type: application/octet-stream
Size: 702 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20020120/356e8c87/fcsStringTruncate.cs.obj


More information about the Squeak-dev mailing list