[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] IOChan.RawRead() fails to update file position
From: |
SiTex Graphics |
Subject: |
Re: [Gm2] IOChan.RawRead() fails to update file position |
Date: |
Fri, 29 Apr 2011 09:25:01 -0700 |
I'm using a fairly old build - the CVS from July 2 - which produces a
result of 0 (the position is not updated). Glad to hear this one has
already been fixed!
Thanks,
Scott
On Fri, Apr 29, 2011 at 1:54 AM, Gaius Mulley <address@hidden> wrote:
> john o goyo <address@hidden> writes:
>
>> On 27-Apr-11, at 12:05 PM, Gaius Mulley wrote:
>>
>>> SiTex Graphics <address@hidden> writes:
>>>
>>>> Hi Gaius,
>>>>
>>>> It appears that IOChan.RawRead() does not update the current file
>>>> position. Test code attached. Compile with:
>>>>
>>>> gm2 -o testpos -fiso -fmakeall testpos.mod
>>>>
>>>> The test program reads 4 bytes from a test.txt file then reports the
>>>> current file position.
>>>>
>>>> -Scott
>>>
>>> Hi Scott,
>>>
>>> just double checking that the answer should be '4'? Out of interest
>>> which version of gm2 are you using? I get the following results from
>>> the latest cvs:
>>>
>>> address@hidden:~/GM2$ gm2 -g -fiso testpos.mod
>>> ./a.out
>>> 4
>>
>> For what it is worth, I also see 4.
>>
>
> ok, thanks
>