mingw investigation - help needed

2024-07-17 Thread Bruno Haible
Hi, About a week ago, one of the CI runs on GitHub reported this unit test failure on 64-bit mingw: = test-c-strtof-mt.sh.log = thread2 disturbed by thread1! ../../gltests/test-c-strtof-mt.sh: line 24: 3498 Segmentation fault LC_ALL=$LOCALE_FR ${CHEC

Re: announce-gen: Fix copyright year in --version output.

2024-07-17 Thread Simon Josefsson via Gnulib discussion list
Bruno Haible writes: > Simon Josefsson wrote: >> > Maybe, I am misreading but I think using $VERSION makes more sense >> > according to the GNU Coding Standards [1]: >> > >> > This copyright notice only needs to mention the most recent year in >> > which changes were made—there’s no need

Re: announce-gen: Fix copyright year in --version output.

2024-07-17 Thread Bruno Haible
Hi Simon, > > The GNU Maintainers Guide and the GNU Coding Standards have different > > sections > > - about the copyright notice in source files > > https://www.gnu.org/prep/maintain/html_node/Copyright-Notices.html > > - about the --version output of programs > > https://www.gnu.org

doc: List library dependencies

2024-07-17 Thread Bruno Haible
This patch documentation the (recommended and optional) libraries used by gnulib at runtime. 2024-07-17 Bruno Haible doc: List library dependencies. * DEPENDENCIES: List the library dependencies. diff --git a/DEPENDENCIES b/DEPENDENCIES index 2c38edc5ad..ce9cf9fb80 100644 ---

Re: doc: List library dependencies

2024-07-17 Thread Collin Funk
Hi Bruno, Bruno Haible writes: > This patch documentation the (recommended and optional) libraries used > by gnulib at runtime. Looks good, thanks! When setting up a Cygwin testdir of all modules awhile ago I kept forgetting libraries so this should help. Collin

Re: announce-gen: Fix copyright year in --version output.

2024-07-17 Thread Bruno Haible
Collin Funk wrote: > The announce-gen and useless-if-before-free scripts have had changes > since their copyright date was updated: How about deriving the --version output from the copyright notice, for those programs that consist of a single file and that are not written in C? Like this: diff -

Re: announce-gen: Fix copyright year in --version output.

2024-07-17 Thread Collin Funk
Bruno Haible writes: > How about deriving the --version output from the copyright notice, for > those programs that consist of a single file and that are not written in C? [...] > + # Extract the last year from this file's copyright notice. > + sed_extract_last_year='s/^.*\([0-9]\{4\}\)[^0-9]*$

new module 'stack-trace'

2024-07-17 Thread Bruno Haible
While the 'abort-debug' module is nice, some users may want to have a print_stack_trace facility that does not come with an override of abort(). This series of patches implements this. 2024-07-17 Bruno Haible stack-trace: Add tests. * tests/test-stack-trace.c: New file.

stack-trace: Use libasan as an alternative to libbacktrace

2024-07-17 Thread Bruno Haible
This patch enables stack traces with file names and line numbers in some situations, e.g. when using clang on Debian-based distros. (In this situation, -lbacktrace does not work because libbacktrace.a is installed in a GCC-private directory, but -lasan works because it is installed in a global loca