Re: errno not restore before printing error in exec_builtin

2024-10-28 Thread Chet Ramey
On 10/27/24 7:47 PM, Emanuele Torre wrote: In a branch of exec_builtin(), errno is not restored before printing an error message, and that causes "Success" to be printed. Thanks for the report. The right fix for this is to suppress the exec builtin printing an error message in the cases where s

Re: [PATCH] Makefile: avoid undefined variables

2024-10-28 Thread Chet Ramey
On 10/26/24 5:04 PM, Mike Jonkmans wrote: On Thu, Oct 24, 2024 at 03:07:46PM -0400, Grisha Levit wrote: These are reported by make --warn-undefined-variables. Most were being set previously (sometimes 20 years ago) and got left behind in recepies after their definitions have been removed. Other