On Fri, Nov 9, 2012 at 7:08 PM, Vincent Torri <vincent.to...@gmail.com> wrote:
> On Fri, Nov 9, 2012 at 6:56 PM, rustyBSD <rusty...@gmx.fr> wrote:
>> Le 09/11/2012 18:40, Vincent Torri a écrit :
>>> On Fri, Nov 9, 2012 at 6:18 PM, rustyBSD <rusty...@gmx.fr> wrote:
>>>> > Le 09/11/2012 16:39, Vincent Torri a écrit :
>>>>> >> I would suggest
>>>>> >>
>>>>> >> #if !defined(__OpenBSD) && etc....
>>>>> >>
>>>>> >> instead of
>>>>> >>
>>>>> >> #ifdef __linux__
>>>>> >>
>>>>> >> As it will work for Mac OS X, and probably on Solaris too
>>>>> >>
>>>>> >> Btw, it's strange that it works on Mac OS X and not in FreeBSD.
>>>> > Ah yes, forgot it.
>>>> >
>>>> > Ialso tested on NetBSD, it doesn't have PTRACE_GETSIGINFO.
>>>> >
>>> what about PT_GETSIGINFO ?
>> According to the man pages, no.
>>
>> http://www.unix.com/man-page/FreeBSD/2/ptrace
>> http://www.openbsd.org/cgi-bin/man.cgi?query=ptrace&sektion=2&format=html
>> http://nixdoc.net/man-pages/NetBSD/ptrace.2.html
>
> ok, it's clear :)
>
> Vincent

new patch:

1) i've added Mac SO X support as it has the same problem : no
PTRACE_GETSIGINFO.
2) there was a mistake in the last #if with freebsd (should be && !__FreeBSD__)

Vincent

Attachment: e_start_main.c.diff
Description: Binary data

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to