This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [doc patchv2] coding style: 0 vs. NULL + [patch] Code cleanup: skip.c


On Tue, 11 Dec 2012 21:39:02 +0100, Eli Zaretskii wrote:
> Okayed -- under protest, because I happen to think that
> 
>   if (!pointer)
> 
> is perfectly valid C.

This (pointer) and (!pointer) rule is very commonly violated in current GDB.

Originally I did not want to go so far with these new rules but why not.


Thanks,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]