[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemacs-devel] [PATCH] Haiku port with GUI
From: |
François Revol |
Subject: |
Re: [Qemacs-devel] [PATCH] Haiku port with GUI |
Date: |
Mon, 23 Dec 2013 01:54:13 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130630 Icedove/17.0.7 |
On 23/12/2013 01:47, François Revol wrote:
>> I'm not sure if it's either our implementation which is broken or if
>> it's not supposed to be in this order and it's just Linux and others
>> which accept it anyway...
>
> At least netbsd's daemon seems to call it before even closing the old tty:
>
> http://ftp.netbsd.org/pub/NetBSD/NetBSD-current/xsrc/xfree/xc/programs/xdm/daemon.c
>
> The opengroup page for setsid() isn't very explicit. This one isn't much
> more either though, it seems most relevant things are "implementation
> specific" (why write specifications then...):
> http://pubs.opengroup.org/onlinepubs/009696699/basedefs/xbd_chap11.html
At least I check in Linux and it still works with setsid() before the
open() calls.
François.