correct NUL vs. NULL usage

From: Neil Conway <neilc(at)samurai(dot)com>
To: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: correct NUL vs. NULL usage
Date: 2003-09-24 06:21:08
Message-ID: 1064384467.5822.63.camel@tokyo
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-patches

In C, "NULL" denotes a special pointer value indicating the pointer
points to no value. "NUL" is the ASCII character that terminates a C
string. These two terms are not synonymous, so this patch corrects the
usage of NULL in comments in the postgres source.

I may have missed an instance or two, but this gets most of the
mistakes, I believe.

-Neil

Attachment Content-Type Size
nul_cleanup-4.patch text/x-patch 68.6 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2003-09-24 13:54:43 Re: correct NUL vs. NULL usage
Previous Message Tom Lane 2003-09-24 05:39:18 Re: bug in vacuumlo?