bug-make
[Top][All Lists]
Advanced

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

Re: Unlink failure on abort


From: Eli Zaretskii
Subject: Re: Unlink failure on abort
Date: Fri, 16 Jun 2017 09:23:45 +0300

> From: Orgad Shaneh <address@hidden>
> Date: Fri, 16 Jun 2017 00:46:34 +0300
> 
> Ok, I found out that the bug is not (entirely) in make. What causes this 
> problem is the following patch applied
> by MSYS2 packages of mingw make:
> 
> diff -Naur make-4.2.1/main.c make-4.2.1.new/main.c
> --- make-4.2.1/main.c 2016-05-31 09:17:26.000000000 +0200
> +++ make-4.2.1.new/main.c 2017-02-20 22:55:09.051617838 +0100
> @@ -1126,8 +1126,11 @@
> 
> #endif
> 
> +/* setlocale interferes with line buffering if using parallel make on MinGW 
> */
> +#ifndef __MINGW32__
> /* Set up gettext/internationalization support. */
> setlocale (LC_ALL, "");
> +#endif
> /* The cast to void shuts up compiler warnings on systems that
> disable NLS. */
> (void)bindtextdomain (PACKAGE, LOCALEDIR);

I'd certainly like to know why "setlocale interferes with line
buffering if using parallel make on MinGW".  Could you perhaps ask the
MSYS2 maintainers to report their findings here or on make-w32?

TIA



reply via email to

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