Re: Drop Gnulib support for ecvt, fcvt, gcvt, getw, putw?

2022-06-12 Thread Bruno Haible
Paul Eggert wrote: > The functions ecvt, fcvt, gcvt, getw, putw are no longer in POSIX and > the glibc manual pretty much recommends against them. How about if we > drop Gnulib support for them? This would speed up 'configure' a bit, > among other things. As far as I know nobody uses them. I

Re: Drop Gnulib support for ecvt, fcvt, gcvt, getw, putw?

2022-06-12 Thread Jim Meyering
On Sun, Jun 12, 2022, 1:11 PM Paul Eggert wrote: > The functions ecvt, fcvt, gcvt, getw, putw are no longer in POSIX and > the glibc manual pretty much recommends against them. How about if we > drop Gnulib support for them? This would speed up 'configure' a bit, > among other things. As far as

Re: fchmodat.c & lchmod.c - O_PATH & AT_EMPTY_PATH on older kernels

2022-06-12 Thread Paul Eggert
On 6/12/22 08:03, Bruno Haible wrote: Two tests now fail, that succeeded before yesterday's patch. Thanks for reporting that. Although I don't have MS-Windows I stared at the code a bit and I think I see what might be the problem. I found some other potential issues too (basically, I didn't

Drop Gnulib support for ecvt, fcvt, gcvt, getw, putw?

2022-06-12 Thread Paul Eggert
The functions ecvt, fcvt, gcvt, getw, putw are no longer in POSIX and the glibc manual pretty much recommends against them. How about if we drop Gnulib support for them? This would speed up 'configure' a bit, among other things. As far as I know nobody uses them.

Re: fchmodat.c & lchmod.c - O_PATH & AT_EMPTY_PATH on older kernels

2022-06-12 Thread Bruno Haible
Paul Eggert wrote: > Also, now that I'm > thinking about it, the Gnulib code didn't work if fstatat fails with > EOVERFLOW and should be using readlinkat instead. Please try the first > attached patch, which I've installed in Gnulib. The patch works fine on - Linux - FreeBSD (both with and

Re: O_PATH

2022-06-12 Thread Bruno Haible
Paul Eggert wrote: > I also installed the 2nd attached patch which is just a doc update. The platforms that have O_PATH are: - Linux (glibc ≥ 2.14, musl, Android) - FreeBSD ≥ 13.1 I'm therefore doing this doc update: 2022-06-12 Bruno Haible doc: Update O_PATH platforms list.