gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] IOChan.RawRead() fails to update file position


From: Gaius Mulley
Subject: Re: [Gm2] IOChan.RawRead() fails to update file position
Date: Fri, 29 Apr 2011 09:54:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]