[fpc-devel] crt unit fix

Jonas Maebe jonas at zeus.ugent.be
Tue Mar 15 10:20:32 CET 2005


On 15 mrt 2005, at 08:51, Dr. Karl-Michael Schindler wrote:

> There is a endian related bug in the crt unit, which breaks the 
> examples ex10 and ex11 of the crt docs. The following fixes the bug 
> and makes the code more obvious. I suggest to replace the following 
> two routines. Tested on Mac OS X. It fixes web bug 3788 (I submitted 
> that one) and 3391 as good as possible (submitted by coraxyn). Some 
> small editing corrections as well.

There's still a problem somewhere though: at the end of ex10, the 
output on the screen is

Line 1
  Line 2
Line 3

Oops, forgot Line 2, let's insert at the cursor postion


Under Linux, there is no space before "Line 2", and from looking at the 
source, there shouldn't be any. Nevertheless, your patch already solves 
some other problems, so I've committed it. Thanks.


Jonas





More information about the fpc-devel mailing list