[quagga-dev 1063] Re: Bug in lib/daemon.c [PATCH]

Paul Jakma paul at clubi.ie
Tue Apr 20 16:20:58 BST 2004


On Sun, 18 Apr 2004, Boris Kovalenko wrote:

> Hello!
> 
>    There is a bug in lib/daemon.c where we are checking return
> value from setsid(). According to FreeBSD mans the return value of
> setsid() is -1 if error occured, so I suggest to use my patch.
> Special thanks to Oliver Bandel for the report.

Makes sense, but why <= -1, are there any systems where setsid 
returns something other than -1 on error? (why not == -1?)

> 
> With respect,
>    Boris
> 
> 

-- 
Paul Jakma	paul at clubi.ie	paul at jakma.org	Key ID: 64A2FF6A
	warning: do not ever send email to spam at dishone.st
Fortune:
A good plan today is better than a perfect plan tomorrow.
		-- Patton



More information about the Quagga-dev mailing list