Re: Possible spelling fixes
Piotr Stefaniak <postgres@piotr-stefaniak.me>
From: Piotr Stefaniak <postgres@piotr-stefaniak.me>
To: Heikki Linnakangas <hlinnaka@iki.fi>, Josh Soref <jsoref@gmail.com>, Andres Freund <andres@anarazel.de>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2017-02-06T15:53:02Z
Lists: pgsql-hackers
On 2017-02-06 10:40, Heikki Linnakangas wrote: > On 02/06/2017 04:50 AM, Josh Soref wrote: >> NUL-terminated -> NULL-terminated > > When we're talking about NUL-terminated strings, NUL refers to the NUL > ASCII character. NULL usually refers to a NULL pointer. We're probably > not consistent about this, but in this context, NUL-terminated isn't > wrong, so let's leave them as they are. The C standard talks about how "a byte with all bits set to 0, called the null character" is used to "terminate a character string"; it mentions '\0' as "commonly used to represent the null character"; and it also talks about when snprintf() produces "null-terminated output". It never mentions ASCII in this context; quite intentionally it avoids assuming ASCII at all, so that a standard-compliant C implementation may co-exist with other encodings (like EBCDIC).
Commits
-
Fix s/ITERTOR/ITERATOR/ typo in simplehash.h.
- 8f7277dfb5e7 10.0 landed
-
Fix typos in comments.
- 2a931efb76fa 9.2.20 landed
- e8f9fe4ae7ab 9.3.16 landed
- 1dd06ede17e0 9.4.11 landed
- 3aee34d41d38 9.5.6 landed
- 90e859921994 9.6.2 landed
- 181bdb90ba1f 10.0 landed
-
XLOG (also known as WAL -:)) Bootstrap/Startup/Shutdown.
- 47937403676d 7.1.1 cited