git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] packfile: Correct zlib buffer handling

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Jun 13, 2018, 18:40 UTC
Message-ID
<CAPig+cR5kMissKxsA8-0kvZGPmzm=KiPcyhhH9kQBR8EN-GsLg@mail.gmail.com>
In-Reply-To
<xmqqy3fi5ygz.fsf@gitster-ct.c.googlers.com>
On Wed, Jun 13, 2018 at 2:32 PM Junio C Hamano <gitster@pobox.com> wrote:
Show 7 quoted lines
> Eric Sunshine <sunshine@sunshineco.com> writes:
> > On this project, the character mnemonic "NUL" is typically used, not
> > "null" or "NULL" (which is typically reserved for pointers), so:
> > s/null/NUL/g
>
> Correct but I did not think it is a per-project preference; rather,
> "NUL is the name of the byte" is universal ;-)

Yes, the _mnemonic_ NUL is universal, but the character itself is sometimes named or described as the "null character". I was just being pedantic when "this project", by which I meant that we (on this project) prefer the mnemonic "NUL" over longhand "null character", whereas other projects may perhaps prefer "null character" or not care.

Previous: Junio C HamanoNext: Junio C Hamano
Message 4 of 7 in “packfile: Correct zlib buffer handling”
  1. packfile: Correct zlib buffer handlingJeremy Linton, Jun 13, 2018
  2. Eric SunshineJun 13, 2018
  3. Junio C HamanoJun 13, 2018
  4. Eric SunshineJun 13, 2018
  5. Junio C HamanoJun 13, 2018
  6. Jeremy LintonJun 13, 2018
  7. Junio C HamanoJun 13, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.