Package: esajpip
Version: 0.1~bzr33-1
Severity: wishlist

On Fri, May 23, 2014 at 10:32 PM, JP <jp.garcia.or...@gmail.com> wrote:
>> The build failure are due to the fact that `prctl` is for linux only.
>> It does not work on FreeBSD, so I need to tweak the build system to
>> conditionnally turn PLATFORM_LINUX:
>>
>> https://buildd.debian.org/status/fetch.php?pkg=esajpip&arch=kfreebsd-amd64&ver=0.1~bzr33-1&stamp=1400275362
>
> The prctl call is used to ensure that, when the parent process dies,
> the child process dies as well, do you know how this is carried out in
> a non-linux platform? Maybe a more platform-independent solution would
> be the one (second one) indicated here
> http://stackoverflow.com/questions/284325/how-to-make-child-process-die-after-parent-exits.

I think BSD people are using setproctitle() instead. See:
http://avignu.tuxfamily.org/index.php?post/2014/05/27/Quel-est-l-%C3%A9quivalent-de-prctl-()-pour-les-BSD-avec-le-langage-Vala


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to