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

Re: [PATCH 2/2] run-command: use ALLOC_ARRAY

From
Stefan Beller <sbeller@google.com>
Date
Oct 2, 2017, 19:20 UTC
Message-ID
<CAGZ79kazU=JEnAAdzf-oGOMBDQaFZabxJzFOTYmhFLssrvY=BA@mail.gmail.com>
In-Reply-To
<6343155c-0986-06b0-8ced-146b23b8a137@web.de>
On Sun, Oct 1, 2017 at 8:14 AM, René Scharfe <l.s.r@web.de> wrote:
> Use the macro ALLOC_ARRAY to allocate an array.  This is shorter and
> eaasier, as it automatically infers the size of elements.
easier

Thanks, Stefan

Previous: René Scharfe
Message 3 of 3 in “coccinelle: remove parentheses that become unnecessary”
  1. 1/2 coccinelle: remove parentheses that become unnecessaryRené Scharfe, Oct 1, 2017
  2. 2/2 run-command: use ALLOC_ARRAYRené Scharfe, Oct 1, 2017
  3. Stefan BellerOct 2, 2017

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.