From 2053593fccabc179881ed7a9b57afcaa8a878cd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 13 Dec 2022 12:11:29 +0100 Subject: treewide: drop "RUN_" from "RUN_WITH_UMASK" RUN_WITH_UMASK was initially conceived for spawning externals progs with the umask set. But nowadays we use it various syscalls and stuff that doesn't "run" anything, so the "RUN_" prefix has outlived its usefulness. --- coccinelle/macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coccinelle') diff --git a/coccinelle/macros.h b/coccinelle/macros.h index f44b3f2d26..adfea5fbec 100644 --- a/coccinelle/macros.h +++ b/coccinelle/macros.h @@ -43,7 +43,7 @@ // src/basic/umask-util.h #define _cleanup_umask_ -#define RUN_WITH_UMASK(mask) \ +#define WITH_UMASK(mask) \ for (_cleanup_umask_ mode_t _saved_umask_ = umask(mask) | S_IFMT; \ FLAGS_SET(_saved_umask_, S_IFMT); \ _saved_umask_ &= 0777) -- cgit v1.2.1