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

Re: [PATCH 2/2] commit-slab.h: avoid duplicated global static variables

From
Johannes Sixt <j6t@kdbg.org>
Date
Aug 9, 2016, 14:25 UTC
Message-ID
<57A9E7D7.8030704@kdbg.org>
In-Reply-To
<57A9E614.6050601@kdbg.org>

BTW, these are all instances of duplicated global static variables that can be found in a standard Linux build.

How I found them? I waded through the error messages produced by compiling the code base as C++ code for the fun of it (basically CFLAGS='-x c++ -fpermissive').

-- Hannes
Previous: Johannes SixtNext: Junio C Hamano
Message 3 of 4 in “config.c: avoid duplicated global static variables”
  1. 1/2 config.c: avoid duplicated global static variablesJohannes Sixt, Aug 9, 2016
  2. 2/2 commit-slab.h: avoid duplicated global static variablesJohannes Sixt, Aug 9, 2016
  3. Johannes SixtAug 9, 2016
  4. Junio C HamanoAug 9, 2016

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.