RE: Missing socklen_t defintion on Windows 11 ARM

2023-05-09 Thread Yann Bourdeau
Hi Bruno, Thanks for helping! I have used your script and make sure every paths were fine. Did not work and double check everything. I have found the problem, it was between the keyboard and the chair 😊 I forgot to define => win32_target=_WIN32_WINNT_WIN10. Thanks agai

Re: Missing socklen_t defintion on Windows 11 ARM

2023-05-09 Thread Bruno Haible
[CCing bug-gnulib because that's where socklen.m4 comes from] Hi, Yann Bourdeau wrote in : > I'm using the recipe defined in the INSTALL.windows text file that use Cygwin > and Visual Studio. > ... > The error

Re: coreutils CI

2023-05-09 Thread Bruno Haible
Bernhard Voelker wrote: > Gnulib commit 3f0950f65abb (2023-04-26) not only lead to build time > issues, but also made e.g. coreutils' rm(1) fail: > ... > I can confirm that this gnulib commit d4d8abb39eb0 fixes the issue again. Yep, mistakes do happen. Gnulib has stable branches that can protect s

Re: fdopendir: Fix fd leak and test failure on native Windows

2023-05-09 Thread Bruno Haible
KO Myung-Hun wrote: > > @@ -78,11 +82,17 @@ _gl_unregister_dirp_fd (int fd) > > int > > dirfd (DIR *dir_p) > > { > > +#if GNULIB_defined_DIR > > + int fd = dir_p->fd_to_close; > > dirfd() allows to take an invalid `dir_p' ? No; this must be a misunderstanding. dirfd is specified at https://p