bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nstrftime: omit locking code from module dependencies


From: Bruno Haible
Subject: nstrftime: omit locking code from module dependencies
Date: Thu, 15 Feb 2024 22:44:24 +0100

With the last two patches, nstrftime no longer does any locking while
retrieving a locale name. But the locking code is still present, as
part of module dependencies.

These two patches fix that: The module dependencies are restructured
so that nstrftime no longer indirectly depends on the 'lock' module
(and still passes its test suite on Solaris and NetBSD, of course).


2024-02-15  Bruno Haible  <bruno@clisp.org>

        nstrftime: Optimize module dependencies.
        * modules/nstrftime (Depends-on): Remove localename-unsafe. Add
        localename-unsafe-limited.

2024-02-15  Bruno Haible  <bruno@clisp.org>

        localename-unsafe-limited: New module.
        * m4/localename.m4 (gl_LOCALENAME_UNSAFE_LIMITED): New macro.
        * modules/localename-unsafe-limited: New file.
        * modules/localename-unsafe (Depends-on): Add localename-unsafe-limited.
        (Makefile.am): Compile localename-unsafe.c only if the module
        localename-unsafe-limited does not already do it.

Attachment: 0001-localename-unsafe-limited-New-module.patch
Description: Text Data

Attachment: 0002-nstrftime-Optimize-module-dependencies.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]