[Top][All Lists]
[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
signature.asc
Description: This is a digitally signed message part.
[bug-inetutils] [PATCH 4/4] detect fork() support, Mike Frysinger, 2010/11/19
[bug-inetutils] Re: [PATCH 1/4] ftp: rename ruserpass to avoid C library collision, Simon Josefsson, 2010/11/19