Date: Mon, 17 Feb 1997 23:50:03 -0800 (PST) From: Peter Mutsaers <plm@xs4all.nl> To: freebsd-bugs Subject: Re: bin/2752: NULL is used instead of 0 many places Message-ID: <199702180750.XAA02761@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/2752; it has been noted by GNATS. From: Peter Mutsaers <plm@xs4all.nl> To: arnej@imf.unit.no Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/2752: NULL is used instead of 0 many places Date: 17 Feb 1997 20:24:09 +0100 >> On Mon, 17 Feb 1997 10:10:59 +0100 (CET), Arne Henrik Juul >> <arnej@imf.unit.no> said: AHJ> Appy following patch. This changes NULL to 0 most places AHJ> but to '\0' in character context, to be more stylistically AHJ> correct. Why is using '\0' more stylistically correct? A pointer is a pointer, and one can always assign 0 to it. One does not assign 0L to an long* either, but simply 0.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702180750.XAA02761>