On Sat, Oct 8, 2011 at 3:58 AM, Vincent Torri <vto...@univ-evry.fr> wrote: > > > On Fri, 7 Oct 2011, Enlightenment SVN wrote: > >> Log: >> Ecore_Exe: ifdef prctl usage >> >> >> >> Author: bdilly >> Date: 2011-10-07 18:17:19 -0700 (Fri, 07 Oct 2011) >> New Revision: 63916 >> Trac: http://trac.enlightenment.org/e/changeset/63916 >> >> Modified: >> trunk/ecore/src/lib/ecore/ecore_exe.c >> >> Modified: trunk/ecore/src/lib/ecore/ecore_exe.c >> =================================================================== >> --- trunk/ecore/src/lib/ecore/ecore_exe.c 2011-10-07 23:37:42 UTC (rev >> 63915) >> +++ trunk/ecore/src/lib/ecore/ecore_exe.c 2011-10-08 01:17:19 UTC (rev >> 63916) >> @@ -14,7 +14,9 @@ >> #include <sys/types.h> >> #include <unistd.h> >> #include <fcntl.h> >> -#include <sys/prctl.h> >> +#ifdef __linux__ > > no, don't do that. Check the feature, not the OS, see my previous mail
done, thank you > > Vincent > >> +# include <sys/prctl.h> >> +#endif >> >> #ifdef HAVE_SYS_WAIT_H >> # include <sys/wait.h> >> @@ -1510,10 +1512,12 @@ >> } >> } >> >> +#ifdef __linux__ >> if ((flags & ECORE_EXE_TERM_WITH_PARENT)) >> { >> prctl(PR_SET_PDEATHSIG, SIGTERM); >> } >> +#endif >> >> if (!(flags & ECORE_EXE_NOT_LEADER)) setsid(); >> if ((flags & ECORE_EXE_USE_SH)) >> >> >> ------------------------------------------------------------------------------ >> All of the data generated in your IT infrastructure is seriously valuable. >> Why? It contains a definitive record of application performance, security >> threats, fraudulent activity, and more. Splunk takes this data and makes >> sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-d2dcopy2 >> _______________________________________________ >> enlightenment-svn mailing list >> enlightenment-...@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn >> >> > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Bruno Dilly Senior Developer ProFUSION embedded systems http://profusion.mobi ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel