Re: [PATCH] xinit: check for correct fork error code

2017-01-30 Thread Alan Coopersmith
On 01/30/17 12:35 PM, Tobias Stoeckmann wrote: Even though this code is only active on __sun machines, the fork return value should be checked for -1, not 1, to detect an error situation. --- xinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xinit.c b/xinit.c index

Re: [PATCH] xinit: check for correct fork error code

2017-01-30 Thread Peter Hutterer
On Mon, Jan 30, 2017 at 09:35:37PM +0100, Tobias Stoeckmann wrote: > Even though this code is only active on __sun machines, the fork return > value should be checked for -1, not 1, to detect an error situation. 710ea2c..2effad4 master -> master thanks Cheers, Peter > --- > xinit.c | 2

[PATCH] xinit: check for correct fork error code

2017-01-30 Thread Tobias Stoeckmann
Even though this code is only active on __sun machines, the fork return value should be checked for -1, not 1, to detect an error situation. --- xinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xinit.c b/xinit.c index 1b04911..f826b7a 100644 --- a/xinit.c +++ b/xinit.c