If GNU make 3.81 is not found then build it as a companion tool.
Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
[yann.morin.1998@free.fr: add message "checking for make 3.81"]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <8b8bf6998f3d239f6c74.1392920971@advancedsearch.virginmedia.com>
Patchwork-Id: 322302
1 only fork one to assist in stop-start-daemon assumptions about daemon behavior
3 http://bugs.gentoo.org/190785
5 diff -durN glibc-2.10.1.orig/nscd/nscd.c glibc-2.10.1/nscd/nscd.c
6 --- glibc-2.10.1.orig/nscd/nscd.c 2009-02-06 21:10:27.000000000 +0100
7 +++ glibc-2.10.1/nscd/nscd.c 2009-11-13 00:50:24.000000000 +0100
12 + if (write_pid (_PATH_NSCDPID) < 0)
13 + dbg_log ("%s: %s", _PATH_NSCDPID, strerror (errno));
15 int nullfd = open (_PATH_DEVNULL, O_RDWR);
19 for (i = min_close_fd; i < getdtablesize (); i++)
24 - error (EXIT_FAILURE, errno, _("cannot fork"));
33 openlog ("nscd", LOG_CONS | LOG_ODELAY, LOG_DAEMON);
35 - if (write_pid (_PATH_NSCDPID) < 0)
36 - dbg_log ("%s: %s", _PATH_NSCDPID, strerror (errno));
39 dbg_log (_("Could not create log file"));