Maintained by: NLnet Labs

typo, should be cfg->pidfile

W.C.A. Wijngaards
Mon Feb 8 09:18:22 CET 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Adi,

On 04/02/16 16:10, adi via Unbound-users wrote:
> FYI, on latest trunk. I think it is just a typo :-)

Thank you, missed that issue! (It is a fix for the code for a fix that
has not been released so only latest trunk was affected).

Best regards, Wouter

> 
> --- unbound.c   2016-02-04 22:02:47.249598374 +0700 +++ unbound.c+
> 2016-02-04 22:03:32.330756783 +0700 @@ -487,7 +487,7 @@ /* true if
> pidfile is inside chrootdir, or nochroot */ pidinchroot =
> !(cfg->chrootdir && cfg->chrootdir[0]) || (cfg->chrootdir &&
> cfg->chrootdir[0] && -
> strncmp(daemon->pidfile, cfg->chrootdir, +
> strncmp(cfg->pidfile, cfg->chrootdir, strlen(cfg->chrootdir))==0);
> 
> /* check old pid file before forking */
> 
> Regards,
> 
> P.Y. Adi  Prasaja

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWuE9OAAoJEJ9vHC1+BF+NeUEP+gI+AIvHa42NAhZp437uQcvJ
c1vcZY5mEstyV2j0UgDKLb9JbjWPBYuONZmk3x1bEihVF4ZLR8b2LKVx1sq6nlbK
REu09DeADh9lNYUYMbTsV/gqHk7ctHLijcNEnZsb1MArAuf6SjVMMddCj/PBHC8K
1l+2WRxA1wHZ6M4hVN/eQrATNd7HYDOJNnShY4qkbkdbej8xAXPCQtb59ZGLCj8A
9XoPqvbO2ZuWFQ5YpDkY5BQttiSL0lYJWjdEFglptUVFeQftvxt6ia8v1oMt9N1B
1bIKo9zLp0/U6gDoy5L2/qqYDKhtDEH5qhng+7hgrL6BB6/n6zsGmySTXCtSllSz
kG9xfYJwR1TYxRBdarBaeGzH6u0B7rpdfeo5QO/dU9zXW6DPIG+PciWAYy4GZYmK
aL0p2NfJnNvpBZyBoVq5wX/w003eBeA1uzz1KVk/IEsuNFK70bfN9P/jcTKyjLmq
rGRIkBOTkiCHla5Uq2ObmVsR0BWdnhXhHGAPkYYFspDcXQxmWrcz9hGzqHm5D+BJ
T2nQLxm6rS+KIZcUhMApK8wxiUcQfwMDKvPhJUaRtae03Y24qRnhfzcz3LCUxemY
FB+Pao5gesgX07cJ1CsmT561mlOcuF8VryctKmMfiwNYGApzQEqS9iOsn7zOG5dE
kcYJpl2jCY84CzsPP7nP
=3H1C
-----END PGP SIGNATURE-----