Re: tests/init.sh

2024-06-24 Thread Bruno Haible
Hi Collin, > $ gnulib-tool --tests-base testsuite --copy-file tests/init.sh Ah, that's what you meant. Indeed, that should work. > Though this would work too and is probably more clear: > > $ gnulib-tool --copy-file tests/init.sh testsuite/init.sh Yes, this is clearer, because the `gnu

[PATCH] git-merge-changelog: fix conflict markers

2024-06-24 Thread Andreas Schwab
* lib/git-merge-changelog.c (conflict_write): Add missing space after marker. --- lib/git-merge-changelog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/git-merge-changelog.c b/lib/git-merge-changelog.c index c701d29942..b30045e2aa 100644 --- a/lib/gi

Re: [PATCH] git-merge-changelog: fix conflict markers

2024-06-24 Thread Bruno Haible
Hi Andreas, Your chances would be higher for a patch to be applied if you gave a rationale / justification, and if the patch contained comments. I did my own research and found a rationale — possibly different from yours. So I added your patch, and this followup. Also, I changed the words "fix" a

doc: Update info about *printf

2024-06-24 Thread Bruno Haible
A couple of patches that improve the information about the *printf functions' workarounds. 2024-06-24 Bruno Haible doc: Update info about *printf. * doc/*-functions/*printf.texi: Update info regarding size specifiers w8, wf8, etc. 2024-06-24 Bruno Haible d

Re: *printf string functions without INT_MAX limitations in C locale

2024-06-24 Thread Bruno Haible
Oops, I forgot to move the 'c-vasnprintf' module LGPLv2+ as well. 2024-06-24 Bruno Haible c-vasnprintf: Relicense under LGPLv2+. * lib/c-vasnprintf.h: Rebase on lib/vasnprintf.h. * lib/c-vasnprintf.c: Rebase on lib/unistdio/ulc-vasnprintf.c. * modules/c-vasnpri

gnulib macro to check for PIC for a dependent library?

2024-06-24 Thread dmitrii . pasechnik
Building shared libraries which depend upon other libraries breaks whenever a dependency found (by something like AC_SEARCH_LIBS) was not built with -fPIC (or whatever the name of this option might be on the platform in question). And, preferably, one might want to check that the dependency is a dy

Reduce duplication among *printf-posix modules

2024-06-24 Thread Bruno Haible
For each of the *z*printf modules, I'll add a -posix and a -gnu variant. In order to avoid code duplication between the module descriptions, here are two patches that introduce a "mixin" module for the -posix variant and likewise one for the -gnu variant. These modules cannot be used on their own,

new *z*printf-posix modules

2024-06-24 Thread Bruno Haible
This set of patches adds -posix variants for the *z*printf-posix modules that we have so far, along with small unit tests. 2024-06-24 Bruno Haible obstack-zprintf-posix: Add tests. * tests/test-obstack-zprintf-posix.c: New file, based on tests/test-vazsprintf-posix.c.