[bug #63111] Regression. make runs out of file descriptors.

2022-09-27 Thread Dmitry Goncharov
Follow-up Comment #4, bug #63111 (project make): [comment #3 comment #3:] > There are two parts to this: one is not freeing / cleaning temp files on re-exec. Andreas posted a patch which I will check, thanks Andreas! The coreutils failure is the leak of fd. There is no infinite recursion. i can

[bug #63111] Regression. make runs out of file descriptors.

2022-09-27 Thread Paul D. Smith
Follow-up Comment #3, bug #63111 (project make): There are two parts to this: one is not freeing / cleaning temp files on re-exec. Andreas posted a patch which I will check, thanks Andreas! The second is the infinite re-exec issue. This is another facet of the same issue reported by bug #63098

[PATCH] [SV 63111] Set osync handle to noinherit

2022-09-27 Thread Andreas Schwab
* src/posixos.c (osync_setup, osync_parse_mutex): Set osync_handle to noinherit. --- src/posixos.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/posixos.c b/src/posixos.c index d587f9c8..4097ce15 100644 --- a/src/posixos.c +++ b/src/posixos.c @@ -628,7 +628,10 @@ os

[PATCH] [SV 63111] Clean up output sync before re-executing

2022-09-27 Thread Andreas Schwab
* src/main.c (main): Call osync_clear before re-executing ourselves. --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.c b/src/main.c index 3821089c..57aa1e8b 100644 --- a/src/main.c +++ b/src/main.c @@ -2727,6 +2727,8 @@ main (int argc, char **argv, char **envp)

[bug #63111] Regression. make runs out of file descriptors.

2022-09-27 Thread Andreas Schwab
Follow-up Comment #2, bug #63111 (project make): Note that dtc has already fixed the problematic pattern rule (see commit 98a0700). ___ Reply to this item at: _