[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.
- Re: [Bug-ddrescue] [PATCH 3/5] io: Add missing prototype, (continued)
[Bug-ddrescue] [PATCH 2/5] treewide: Replace old style cast with static_cast, Rosen Penev, 2019/08/02
[Bug-ddrescue] [PATCH 4/5] command_mode: Add missing cctype header, Rosen Penev, 2019/08/02
[Bug-ddrescue] [PATCH 5/5] mapfile: Add several missing fclose calls, Rosen Penev, 2019/08/02
Re: [Bug-ddrescue] [PATCH 1/5] treewide: Replace 0 with NULL where appropriate, Antonio Diaz Diaz, 2019/08/05
- Re: [Bug-ddrescue] [PATCH 1/5] treewide: Replace 0 with NULL where appropriate,
Rosen Penev <=