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

Re: [PATCH] grep: remove tautological check

From
Peter Krefting <peter@softwolves.pp.se>
Date
Oct 20, 2012, 19:23 UTC
Message-ID
<alpine.DEB.2.00.1210202022270.19498@ds9.cixit.se>
In-Reply-To
<1350753964-29346-1-git-send-email-dsp@php.net>
David Soria Parra:
> The enum grep_header_field is unsigned.

Enumerations can be either unsigned or signed, it is up to the compiler to decide. Even if you assign only positive number to named enumeration values, there are compilers that make them signed. I've been bitten by that enough.

-- 
\\// Peter - http://www.softwolves.pp.se/
Previous: David Soria ParraNext: Peter Krefting
Message 2 of 3 in “grep: remove tautological check”
  1. grep: remove tautological checkDavid Soria Parra, Oct 20, 2012
  2. Peter KreftingOct 20, 2012
  3. Peter KreftingOct 22, 2012

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.