bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-inetutils] Re: [PATCH 3/4] use daemon from the C library when possi


From: Mike Frysinger
Subject: [bug-inetutils] Re: [PATCH 3/4] use daemon from the C library when possible
Date: Sun, 21 Nov 2010 14:46:13 -0500
User-agent: KMail/1.13.5 (Linux/2.6.36; KDE/4.5.2; x86_64; ; )

On Sunday, November 21, 2010 14:43:56 Mike Frysinger wrote:
> On Sunday, November 21, 2010 06:50:45 Simon Josefsson wrote:
> > The 'daemon' function is not documented in the glibc manual, and it is
> > not standardized by POSIX.  Should we use it?  Perhaps we should treat
> > it the same way as 'ruserpass'.
> 
> it's in all BSD variants and all Linux variants.  that's good enough in my
> book.  if you really want, i can add a daemon function check in configure
> and base the result on that.

err, nm, i remembered this is how i wrote the patch already.  even though the 
func isnt in POSIX, BSD has long standardized its usage, so relying on it is 
fine in my book.  plus, it fixes nommu support which supports daemon() but not 
fork().
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]