Re: gnulib-tool.py: Emit libtests in testdirs generated Makefile.am.

2024-04-30 Thread Bruno Haible
Collin Funk wrote: > Hopefully no other bug reports for gnulib-tool.py since the info-gnu > announcement other than the one I just patched is a good sign? :) Yes, it's a good sign, and most probably a consequence of the testing with various packages [1][2] that we did. Bruno [1] https://lists.gn

gnulib-tool.py: Remove remaining unused instance variables.

2024-04-30 Thread Collin Funk
I pushed the attached patch. It should have removed all the remaining unused instance variables. -3 GLConfig's to worry about. CollinFrom 134f6b8a1806b1bcf0d1cd96ffe97e0d249d4581 Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Tue, 30 Apr 2024 01:09:55 -0700 Subject: [PATCH] gnulib-tool.py: Remo

Re: gnulib-tool.py: Emit libtests in testdirs generated Makefile.am.

2024-04-30 Thread Collin Funk
Hi Bruno, On 4/30/24 12:44 AM, Bruno Haible wrote: > Yes, it's a good sign, and most probably a consequence of the testing > with various packages [1][2] that we did. And the test suite that you wrote. Many thanks for working on that for me. Also, thanks for testing all the projects who use cvs.

Re: ./configure with MSVC + Debug blocks with dialog box (fixed with patch!)

2024-04-30 Thread Bruno Haible
[CCing bug-gnulib] Hi, Paul Harris wrote: > During ./configure, the "intl" configure step tests this condition: > checking whether printf supports the 'n' directive... > > This fails on MSVC, which is fine on Release builds. > > However, in Debug builds, a GUI Dialog box pops up telling the use

Re: ./configure with MSVC + Debug blocks with dialog box (fixed with patch!)

2024-04-30 Thread Paul Harris
Thanks Bruno! On Tue, 30 Apr 2024, 7:19 pm Bruno Haible, wrote: > [CCing bug-gnulib] > > Hi, > > Paul Harris wrote: > > During ./configure, the "intl" configure step tests this condition: > > checking whether printf supports the 'n' directive... > > > > This fails on MSVC, which is fine on Relea

*printf: Don't invoke gl_PRINTF_DIRECTIVE_N when it's not needed

2024-04-30 Thread Bruno Haible
The configure test checking whether printf supports the 'n' directive... leads to some interactive behaviour not only on Windows, but also on Ubuntu, depending on the contents of $HOME/.config/apport/settings. Since 2024-02-21, the result of this configure test is not needed any more in most sit

OSError: [WinError 193] %1 is not a valid Win32 application

2024-04-30 Thread Jianshan Jiang
Hello, I use the newest version of gnulib from git. when I run the ./autogen.sh where I create for sed-4.9. gnulib-tool will throw an exception like below: top/README-release top/maint.mk Traceback (most recent call last): File "E:\Githubs\msvc-pkgs\pkgs\gnulib\.gnulib-tool.py", line 30

Re: OSError: [WinError 193] %1 is not a valid Win32 application

2024-04-30 Thread Bruno Haible
Hi, Jianshan Jiang wrote: > I use the newest version of gnulib from git. when I run the > ./autogen.sh where I create for sed-4.9. gnulib-tool will throw an > exception like below: > ... > File "C:\Python312\Lib\subprocess.py", line 1538, in _execute_child > hp, ht, pid, tid = _winapi.

Re: OSError: [WinError 193] %1 is not a valid Win32 application

2024-04-30 Thread Collin Funk
On 4/30/24 6:44 AM, Bruno Haible wrote: > Collin: Before you just apply this patch, two notes: > * The patch is a pessimization on Unix systems, since executing with > shell=True is slower than without. > * We have basically three ways to deal with this (that I can see): > a) Update the require

Re: test-sprintf-posix and test-snprintf-posix test failures

2024-04-30 Thread Collin Funk
Hi Bruno, On 4/28/24 2:11 AM, Bruno Haible wrote: > Correct. I added a comment, because the situation in ISO C and POSIX has > changed, not too long ago. It took me a bit to understand what was happening. Thanks for the explination. I'm glad the standard has changed to accomodate with glibc and o

[PATCH] intprops: document fix for GCC bug 68193

2024-04-30 Thread Paul Eggert
* lib/intprops-internal.h (_GL__GENERIC_BOGUS): GCC bug 68193 is fixed in GCC 14. This is just for documentation, as _GL__GENERIC_BOGUS is not consulted in GCC 14. --- ChangeLog | 7 +++ lib/intprops-internal.h | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --g