|
From: | Antonio Diaz Diaz |
Subject: | Re: [Bug-ddrescue] [PATCH 1/5] treewide: Replace 0 with NULL where appropriate |
Date: | Mon, 05 Aug 2019 18:51:49 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 |
Hello Rosen.Next time, please, ask before sending such a long but trivial patch. I do not plan to replace 0 with NULL because, as Bjarne Stroustrup explained it in "The C++ programming language":
"In C, it has been popular to define a macro NULL to represent the zero pointer. Because of C++'s tighter type checking, the use of plain 0, rather than any suggested NULL macro, leads to fewer problems."
Best regards, Antonio.
[Prev in Thread] | Current Thread | [Next in Thread] |