bug-gnulib
[Top][All Lists]
Advanced

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

new module 'sigabbrev_np'


From: Bruno Haible
Subject: new module 'sigabbrev_np'
Date: Fri, 21 Aug 2020 01:19:39 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-186-generic; KDE/5.18.0; x86_64; ; )

sigabbrev_np is a new function in glibc 2.32. It is probably useful for
implementations of shells; maybe also for guile.

Here's a module which adds support for it to gnulib, so that it may be
used in GNU code without portability worries.


2020-08-20  Bruno Haible  <bruno@clisp.org>

        sigabbrev_np: Add tests.
        * tests/test-sigabbrev_np.c: New file.
        * modules/sigabbrev_np-tests: New file.

        sigabbrev_np: New module.
        * lib/string.in.h (sigabbrev_np): New declaration.
        * lib/sigabbrev_np.c: New file.
        * m4/sigabbrev_np.m4: New file.
        * m4/string_h.m4 (gl_HEADER_STRING_H_BODY): Test whether sigabbrev_np is
        declared.
        (gl_HEADER_STRING_H_DEFAULTS): Initialize GNULIB_SIGABBREV_NP,
        HAVE_SIGABBREV_NP.
        * modules/string (Makefile.am): Substitute GNULIB_SIGABBREV_NP,
        HAVE_SIGABBREV_NP.
        * modules/sigabbrev_np: New file.
        * tests/test-string-c++.cc: Verify the signature of sigabbrev_np.
        * doc/glibc-functions/sigabbrev_np.texi: Mention the new module.

Attachment: 0001-sigabbrev_np-New-module.patch
Description: Text Data

Attachment: 0002-sigabbrev_np-Add-tests.patch
Description: Text Data


reply via email to

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