Re: [PATCH 1/3] inf-ptrace: Do not stop memory transfers after a single word

Pedro Alves
2017-03-13T19:39:33Z

On 03/10/2017 03:48 PM, Simon Marchi wrote:

> I don't the idea behind that rule. I thought it was just for readability,
> to make it clear that the variable is a pointer without having to refer to the
> declaration. Perhaps some older timers could shed some light on that :).

I don't know the original rationale, but I agree that nowadays the
justification can only be in terms of readability. The same reason we
do
if (integer_that_is_not_a_boolean != 0)
instead of
if (integer_that_is_not_a_boolean)
.

Thanks,
Pedro Alves