Versions bug after 2004, 2047, 2048 BigSources

Bob Arning arning at charm.net
Tue May 23 21:16:25 UTC 2000


On Tue, 23 May 2000 16:57:18 -0400 "David N. Smith \(IBM\)" <dnsmith at watson.ibm.com> wrote:
>The version browser doesn't work for items which exceed the old limits, though the regular browsers work fine. The error is in VersionsBrowser>>#scanVersionsOf: class:meta:category:selector:. It causes a walkback at the third line from the end:
>
>			[file _ sourceFilesCopy at: prevFileIndex]].
>
>where sourceFilesCopy has two elements as expected but prevFileIndex is 4.
>
>Code above this point does computations on the source pointer.
>
>My changes file is 16,844,803 bytes long, having overflowed the old limit while installing a big glob up updates last week. Since then, the VersionsBrowser chokes on any method which is above the 16 meg limit, but everything else seems to work, including the versions browser on methods with no new versions.

Dave,

Looks like that didn't get covered in the updates. If you want to get around this, you might look at

StandardSourceFileArray methods #fileIndexFromSourcePointer: and filePositionFromSourcePointer: as the more modern way to extract the required information.

Cheers,
Bob





More information about the Squeak-dev mailing list