Re: [PATCH] maint: add a syntax check to prevent use of NULL

2023-07-18 Thread Jim Meyering
On Tue, Jul 18, 2023 at 3:14 PM Pádraig Brady wrote: > > * cfg.mk (sc_prohibit_NULL): Direct to use nullptr instead. Good one. Now I want to add that in each of at least diffutils, grep, sed, gzip.

[PATCH] maint: add a syntax check to prevent use of NULL

2023-07-18 Thread Pádraig Brady
* cfg.mk (sc_prohibit_NULL): Direct to use nullptr instead. --- cfg.mk | 6 ++ 1 file changed, 6 insertions(+) diff --git a/cfg.mk b/cfg.mk index 9c399595f..630251b65 100644 --- a/cfg.mk +++ b/cfg.mk @@ -509,6 +509,12 @@ sc_prohibit_exit_write_error: halt='Use write_error() instead' \