Bug 46750

GemStone/S 64 Bit

3.3.3, 3.3.2, 3.3.1, 3.3, 3.2.16, 3.2.15, 3.2.14, 3.2.13, 3.2.12, 3.2.11, 3.2.10, 3.2.9, 3.2.8, 3.2.x, 3.2, 3.1.0.6, 3.1.0.x, 3.1, 3.0.1, 3.0

All Platforms

3.3.4

GsFile>>position: failures for arguments over 2 billion

When using GsFile>>position:, if a position argument equal to or greater than 2^31 (2147483648) is specified, the method will return nil (normally used to indicate an error) and subsquent calls to GsFile>>position will return incorrect values.  Reads and/or writes will still be performed correctly.

If at some point GsFile>>position: is called with a value less than 2^31 (2147483648), GsFile>>position will again return correct values until the position exceeds 2^31.


Last updated: 3/27/17