bug-ddrescue
[Top][All Lists]
Advanced

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

Re: [Bug-ddrescue] [PATCH 1/5] treewide: Replace 0 with NULL where appro


From: Rosen Penev
Subject: Re: [Bug-ddrescue] [PATCH 1/5] treewide: Replace 0 with NULL where appropriate
Date: Mon, 5 Aug 2019 09:56:20 -0700

On Mon, Aug 5, 2019 at 9:51 AM Antonio Diaz Diaz <address@hidden> wrote:
>
> 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."
Yeah disregard this patch. I came to a similar conclusion after the fact.
>
>
> Best regards,
> Antonio.



reply via email to

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