bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] free: preserve errno


From: Bruno Haible
Subject: Re: [PATCH] free: preserve errno
Date: Sat, 19 Dec 2020 00:29:51 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-197-generic; KDE/5.18.0; x86_64; ; )

I wrote:
>       * lib/stdlib.in.h (free): New declaration.

Oops, I forgot to check this declaration in the test suite.


2020-12-18  Bruno Haible  <bruno@clisp.org>

        free-posix: Add C++ declaration test.
        * tests/test-stdlib-c++.cc (free): New declaration.

diff --git a/tests/test-stdlib-c++.cc b/tests/test-stdlib-c++.cc
index 09bae83..5eb7299 100644
--- a/tests/test-stdlib-c++.cc
+++ b/tests/test-stdlib-c++.cc
@@ -47,6 +47,10 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::canonicalize_file_name, 
char *,
                  (const char *));
 #endif
 
+#if GNULIB_TEST_FREE_POSIX
+SIGNATURE_CHECK (GNULIB_NAMESPACE::free, void, (void *));
+#endif
+
 #if GNULIB_TEST_GETLOADAVG
 SIGNATURE_CHECK (GNULIB_NAMESPACE::getloadavg, int, (double[], int));
 #endif




reply via email to

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