[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1064168 - in /subversion/trunk/subversion/include/private: svn_eol_private.h svn_fs_util.h svn_mergeinfo_private.h svn_opt_private.h svn_sqlite.h svn_wc_private.h

From: Senthil Kumaran S <stylesen_at_gmail.com>
Date: Fri, 28 Jan 2011 08:16:54 +0530

Hi Kamesh,

On Thu, Jan 27, 2011 at 9:42 PM, Kamesh Jayachandran
<kamesh.jayachandran_at_gmail.com> wrote:
>>   /* Return the first eol marker found in [@a buf, @a endp) as a
>> - * NUL-terminated string, or NULL if no eol marker is found.
>>
>
> NUL is not a typo I guess, NUL means '\0', While NULL is (void *) 0x.

A NULL does mean '\0' or (void *) 0x. I also referred this -
http://en.wikipedia.org/wiki/Null_character which says the same when
referring to NULL termination of a string, except for one place where
it says 'NUL' is an abbreviation for NULL character -
http://en.wikipedia.org/wiki/NUL

With the above I think it does not matter if we say 'NUL' or 'NULL',
but since the change is already in, I will leave it like that.

Thank You.

-- 
Senthil Kumaran S
http://www.stylesen.org/
http://www.sasenthilkumaran.com/
Received on 2011-01-28 03:47:34 CET

This is an archived mail posted to the Subversion Dev mailing list.