28 Oct
2022
28 Oct
'22
12:24
On Wed, Oct 26, 2022 at 2:54 AM Jan Engelhardt <jengelh@inai.de> wrote:
How about the following patch (for make-4.3.92)?
diff --git a/src/posixos.c b/src/posixos.c index 48e8cf5c..4e6cc9ec 100644 --- a/src/posixos.c +++ b/src/posixos.c @@ -139,9 +139,13 @@ unsigned int jobserver_setup (int slots, const char *style) { int r; + if (style == NULL) + { + style = "pipe"; + }
#if HAVE_MKFIFO - if (style == NULL || strcmp (style, "fifo") == 0) + if (strcmp (style, "fifo") == 0) { /* Unfortunately glibc warns about uses of mktemp even though we aren't using it in dangerous way here. So avoid this by generating our own
Yeah, +1 . or whatever make it default to "pipe" and we are done.