[fpc-pascal] Bug in rtl/baseunix on OSX - Abort with illegal instruction

2008-10-15 Thread Brad Campbell
G'day all, fpmkfifo aborts with an illegal instruction on OSX. macppc:~ user$ fpc testfifo.pas Free Pascal Compiler version 2.2.3 [2008/06/14] for powerpc Copyright (c) 1993-2008 by Florian Klaempfl Target OS: Darwin for PowerPC Compiling testfifo.pas Assembling fifotest Linking testfifo 8 lines

[fpc-pascal] simpleipc

2008-10-15 Thread Brad Campbell
G'day all, I've been having a play with simpleipc.pp for trying to do cross-platform single instance detection. Ordinarily it behaves perfectly, but I just noticed on Linux that it all comes crashing down if the server application crashes without removing the pipe. I then have to manually re