Re: [fpc-devel] Fpsigprocmask

2010-01-22 Thread Michael Schnell
On 01/20/2010 08:22 PM, Martin Schreiber wrote: I copied the bits used by MSEgui, fixed the bugs which affected MSEgui and made it working on x86_64-linux. libc version compatibility is not so bad IMHO. MSEgui works with libc on Suse 9.3 and on 2.4 kernels up to Suse 11.2 and the newest

Re: [fpc-devel] Fpsigprocmask

2010-01-22 Thread Michael Schnell
On 01/20/2010 09:07 PM, Marco van de Voort wrote: There is no libc.pp in the RTL. There is some old Kylix legacy package in packages/libc, maybe you mean that? If so, read this http://wiki.freepascal.org/libc_unit OK. What to use instead of signal(), sigemptyset(), sigaddset(),

Re: [fpc-devel] Fpsigprocmask

2010-01-22 Thread Marco van de Voort
In our previous episode, Michael Schnell said: There is no libc.pp in the RTL. There is some old Kylix legacy package in packages/libc, maybe you mean that? If so, read this http://wiki.freepascal.org/libc_unit OK. What to use instead of signal(), sigemptyset(), sigaddset(),

Re: [fpc-devel] Fpsigprocmask

2010-01-22 Thread Michael Schnell
On 01/22/2010 03:02 PM, Marco van de Voort wrote: (baseunix.) Great ! Found it, Thanks. The whole libc unit has been unsupported for new development for the same time. Don't use it. OK, I'll try to convert Martin's code to use the fp* functions in the Lazarus package. -Michael

Re: [fpc-devel] Fpsigprocmask

2010-01-22 Thread Martin Schreiber
On Friday 22 January 2010 14:39:51 Michael Schnell wrote: mselibc: function m_sigprocmask(__how:longint; var SigSet : TSigSet; var oldset: Tsigset):longint;cdecl;external clib name 'sigprocmask'; FPC RTL singnalh.inc: function sigprocmask(__how:longint; var SigSet : TSigSet;

Re: [fpc-devel] Fpsigprocmask

2010-01-22 Thread Michael Schnell
On Friday 22 January 2010 14:39:51 Michael Schnell wrote: mselibc: function m_sigprocmask(__how:longint; var SigSet : TSigSet; var oldset: Tsigset):longint;cdecl;external clib name 'sigprocmask'; FPC RTL singnalh.inc: function sigprocmask(__how:longint; var SigSet :

Re: [fpc-devel] Fpsigprocmask

2010-01-22 Thread Marco van de Voort
In our previous episode, Martin Schreiber said: On Friday 22 January 2010 15:32:36 Michael Schnell wrote: These _are_ the sources. There is not more to a library call. Maybe there was other code before or it was in order to ensure the right unit was used or there was a problem

Re: [fpc-devel] Fpsigprocmask

2010-01-22 Thread Michael Schnell
http://mseide-msegui.svn.sourceforge.net/viewvc/mseide-msegui/trunk/lib/common/kernel/msepipestream.pas?sortdir=downview=log Maybe there was other code before or it was in order to ensure the right unit was used or there was a problem with linking or a name clash, I really don't