[fpc-pascal] Serial port access on Darwin PPC

Brad Campbell brad at wasp.net.au
Tue Sep 23 16:32:56 CEST 2008


Jonas Maebe wrote:
> 
> On 23 Sep 2008, at 14:24, Brad Campbell wrote:
> 
>> tios.c_cflag is used to obtain the baudrate constant, but it's not 
>> then cleared before or'ing the other constants into it. Strangely 
>> enough this works on linux x86, but breaks badly in MacOS PPC.
> 
> Uninitialised data often causes bugs like this.
> 

Nope.. ignore me, there is something more sinister going on. The code is correct..

-- 
Dolphins are so intelligent that within a few weeks they can
train Americans to stand at the edge of the pool and throw them
fish.



More information about the fpc-pascal mailing list