Paul Eggert wrote: > I attempted to put gzip on a diet by installing the attached Gnulib > patches to remove some unnecessary dependencies
Patch 0002 is a backward-incompatible change. While the documentation [1] explains that the once-only functionality is in module 'once', it was contained in module 'lock' until 2024. Therefore what patch 0002 does is a backward-incompatible change: code that includes "glthread/lock.h" and uses gl_once* may now get a compilation error. This needs to be mentioned in the NEWS file. [1] https://www.gnu.org/software/gnulib/manual/html_node/Gnulib-multithreading.html 2026-04-01 Bruno Haible <[email protected]> lock: Document backward-incompatible change from yesterday. * NEWS: Add note about 'lock' module. diff --git a/NEWS b/NEWS index d1d62ea3f5..faaece85b2 100644 --- a/NEWS +++ b/NEWS @@ -78,6 +78,10 @@ User visible incompatible changes Date Modules Changes +2026-03-31 lock This module no longer defines the once-only + execution primitives. For these, request the + 'once' module and #include "glthread/once.h". + 2026-03-15 count-one-bits This module is obsolete. Use the module 'stdc_count_ones' instead.
