Re: NULL vs NUL (changeset: 6873:65f180f2904f)

2016-11-25 Thread Derek Martin
On Tue, Nov 22, 2016 at 03:47:37AM +0100, Vincent Lefevre wrote: > NUL means the ASCII or EBCDIC character \0 (the special characters > in US-ASCII and EBCDIC typically have names with at most 3 letters, > hence this abbreviation). I think technically "abbreviation" is not even correct--it is the

Re: NULL vs NUL (changeset: 6873:65f180f2904f)

2016-11-21 Thread Kevin J. McCarthy
On Tue, Nov 22, 2016 at 03:47:37AM +0100, Vincent Lefevre wrote: > In C, the byte 0 is called the "null character". NUL is definitely > wrong in this context, as C may be based on a character set other > than ASCII or EBCDIC, while the null character is charset independent. Thanks Claus and Vincen

Re: NULL vs NUL (changeset: 6873:65f180f2904f)

2016-11-21 Thread Vincent Lefevre
On 2016-11-21 18:24:15 -0800, Claus Assmann wrote: > On Mon, Nov 21, 2016, Brendan Cully wrote: > > changeset: 6873:65f180f2904f > > > X509_NAME_oneline() always NULL-terminates the string, even when it > > Isn't the common terminology: > NULL: NULL pointer > NUL: '\0' > ? NULL is the name of a

NULL vs NUL (changeset: 6873:65f180f2904f)

2016-11-21 Thread Claus Assmann
On Mon, Nov 21, 2016, Brendan Cully wrote: > changeset: 6873:65f180f2904f > X509_NAME_oneline() always NULL-terminates the string, even when it Isn't the common terminology: NULL: NULL pointer NUL: '\0' ? > + /* Note that X509_NAME_online will NULL-terminate buf, even when it