]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add semantic patch to keep UV_RUNTIME_CHECK in sync
authorOndřej Surý <ondrej@isc.org>
Tue, 15 Feb 2022 18:54:54 +0000 (19:54 +0100)
committerOndřej Surý <ondrej@isc.org>
Wed, 16 Feb 2022 10:48:33 +0000 (11:48 +0100)
commitcdd725f1dbcd21fa6c3fa437f7350ce0248fa90e
treed2f16f04d1550d1fdd2bc010e6b77a9e3caa11c6
parent1c564b808f9c93a64e1c12638990788bd58de405
Add semantic patch to keep UV_RUNTIME_CHECK in sync

The UV_RUNTIME_CHECK() macro requires to keep the function name in sync
like this:

    r = func(...);
    UV_RUNTIME_CHECK(func, r);

Add semantic patch to keep the function name and return variable in sync
with the previous line.

(cherry picked from commit 62bd5cb08c56e710ec1f4cd5da7454da6b01c5c1)
cocci/UV_RUNTIME_CHECK.spatch [new file with mode: 0644]