Bug 49568

GemStone/S 64 Bit

3.6.1, 3.6, 3.5.6, 3.5.5, 3.5.4, 3.5.3, 3.5.2, 3.5.1, 3.5, 3.4.5, 3.4.4, 3.4.3, 3.4.2, 3.4.1, 3.4, 3.3.9, 3.3.8, 3.3.7, 3.3.6, 3.3.5, 3.3.4, 3.3.3, 3.3.2, 3.3.1, earlier versions

3.6.2, 3.5.7

GsFile position: incorrect for r+ file mode

If a GsFile is open for read/write, e.g. when using GsFile class >> openUpdateOnServer: (mode r+), then after invoking atEnd, the file position is incorrect; GsFile >> position will return 0. Subsequent writes will be in the correct location.

If GsFile >> position: is sent, followed by GsFile >> atEnd, a subsequent write may not be in the correct location.


                

Last updated: 6/15/21