In article <5505980f.7020...@gmx.com>, Duncan Moore <duncan.mo...@gmx.com> wrote: > If the file qqq contains the single line: > abcdefghijklmnopq
> then on Cygwin the following program gives what I would expect: > abcdefghijklmnopq > abcdefghi > abcdEfghijklmnopq I got the above result here on Iyonix with !GCC 4.1.2 > but on RISC OS gcc 4.7.4, VirtualRPC-Adjust RISCOS 4.39, ARM 710, the > last output line is wrong: > abcdefghijklmnopq > abcdefghi > abcdefghijklmEopq > RISC OS seems to be using SEEK_END instead of SEEK_CUR. > Is this a bug in RISC OS gcc, or is it something that just can't be done > on RISC OS? Seems to do what you require here on my Iyonix. Ron M. _______________________________________________ GCCSDK mailing list gcc@gccsdk.riscos.info Bugzilla: http://www.riscos.info/bugzilla/index.cgi List Info: http://www.riscos.info/mailman/listinfo/gcc Main Page: http://www.riscos.info/index.php/GCCSDK