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

Re: testsuite failures in mainline...

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Dec 15, 2007, 01:18 UTC
Message-ID
<Pine.LNX.4.64.0712150117330.27959@racer.site>
In-Reply-To
<20071214.160845.185161708.davem@davemloft.net>
Hi,
On Fri, 14 Dec 2007, David Miller wrote:
> -	char space[FLEX_ARRAY]; /* more */
> +	uintmax_t space[FLEX_ARRAY]; /* more */
Usually, a much better idea is to use
	union {
		char cp[FLEX_ARRAY];
		uintmax_t up[FLEX_ARRAY];
	}
because that is exactly the reason union was invented for.

Ciao, Dscho

Previous: David Miller
Message 9 of 9 in “testsuite failures in mainline...”
  1. David MillerDec 14, 2007
  2. Junio C HamanoDec 14, 2007
  3. David MillerDec 14, 2007
  4. Junio C HamanoDec 14, 2007
  5. Alex RiesenDec 14, 2007
  6. David MillerDec 14, 2007
  7. Junio C HamanoDec 14, 2007
  8. David MillerDec 15, 2007
  9. Johannes SchindelinDec 15, 2007

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.