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

Re: [PATCH] read-cache: use size_t for {base,df}_name_compare()

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Feb 5, 2023, 21:09 UTC
Message-ID
<230205.86y1pb7r9m.gmgdl@evledraar.gmail.com>
In-Reply-To
<d272fd03-a005-f6ad-3f00-6b1a970a519f@web.de>
On Sun, Feb 05 2023, René Scharfe wrote:
> Support names of any length in base_name_compare() and df_name_compare()
> by using size_t for their length parameters.  They pass the length on to
> memcmp(3), which also takes it as a size_t.

This looks good, and it's nice to see changes that slowly address the greater topic of our outstanding -Werror=sign-compare issues.

Previous: René Scharfe
Message 2 of 2 in “read-cache: use size_t for {base,df}_name_compare()”
  1. read-cache: use size_t for {base,df}_name_compare()René Scharfe, Feb 5, 2023
  2. Ævar Arnfjörð BjarmasonFeb 5, 2023

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.