Re: Bison submit patches

2022-08-22 Thread Paul Eggert
On 8/22/22 05:19, Andrei Malashkin wrote:please consider adding these patches to the next bison release https://github.com/conan-io/conan-center-index/pull/12439/commits/c3e05b98ba2c96c5b46b06d67eacac3d0d86a58e#diff-78354ca740cc9e125c777be4e3f9ec375c7d7d7c5368a3d4ab0c01357f42b58b https://github.c

Re: bool and C23

2022-08-22 Thread Bruno Haible
Zack Weinberg wrote: > > * In C++ mode, > […] > > [cstdbool may include] various OS stuff, and should therefore be > > avoided when possible. Since a compilation unit cannot be ISO C 23 > > and C++ at the same time, it is easy to achieve: Wrap the new > > config.h additions in > >

Re: bug#57129: 29.0.50; Improve behavior of conditionals in Eshell

2022-08-22 Thread Bruno Haible
Paul Eggert wrote: > These fixes should be merged into glibc upstream since they fix glibc > bugs; I plan to follow up on that shortly. At this occasion: How about moving __path_search and direxists to a different source file in glibc? They are not called, nor do they call, nor do they share code

Re: bug#57129: 29.0.50; Improve behavior of conditionals in Eshell

2022-08-22 Thread Bruno Haible
Paul Eggert wrote: > Thanks for the detailed diagnosis, Bruno. To try to fix the problems I > installed the attached patches into Gnulib. These look all good. Here's again my evaluation of the three scenarios: (Q1) What is the expected quality inside a single gen_tempname call? It depends on qu

Re: bool and C23

2022-08-22 Thread Paul Eggert
On 8/22/22 15:58, Zack Weinberg wrote: There isn’t a bool module right now, are you proposing to add one? Yes. I want to get to where _no_ Gnulib module is required for bool; AC_C_BOOL by itself should be enough. Yes, that's the long term goal. But in the shorter term Gnulib-using code ca

Re: bool and C23

2022-08-22 Thread Zack Weinberg
Please note consolidated reply to both Paul and Bruno. On Sun, Aug 21, 2022, at 5:25 PM, Paul Eggert wrote: > On 8/21/22 07:59, Zack Weinberg wrote: >> Paul Eggert: >>> Zack Weinberg: @defmac AC_C_BOOL (@ovar{if-required}) >>> >>> How about if we omit the IF-REQUIRED parameter? >> >> Taking o

Re: bug#57129: 29.0.50; Improve behavior of conditionals in Eshell

2022-08-22 Thread Paul Eggert
Thanks for the detailed diagnosis, Bruno. To try to fix the problems I installed the attached patches into Gnulib. If I understand things correctly, these patches should fix the 0.1% failure rate you observed on 64-bit mingw. They also fix a minor security leak I discovered: in rare cases, ASLR