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

Re: [PATCH 5/7] grep.c: mark private file-scope symbols as static

From
Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Date
Sep 20, 2012, 20:43 UTC
Message-ID
<505B7FE4.1050706@ramsay1.demon.co.uk>
In-Reply-To
<7vfw6dg2q6.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
Show 11 quoted lines
> Ramsay Jones <ramsay@ramsay1.demon.co.uk> writes:
> 
>> Heh, so I obviously didn't see this before sending the patch yesterday! :-D
>>
>> Yes, this solves the problem addressed by yesterday's patch, so please
>> ignore that. However, this tickles sparse to complain as well ... ;-)
>>
>> New patch on it's way.
> 
> Are you sure the patch you are responding to really "tickles
> sparse"?
Yes.
> You have another grep.c patch timestamped two minutes after the
> message I am responding to, and as far as I can see, it is a subset
> of the patch you are responding to with the message I am responding
> to.
Hmm, that sentence has too many twists for me! :-D
Let me see if I can clear up the misunderstanding:
    - the "patch from yesterday" (18-09-2021) fixed a complaint from
      sparse regarding symbol 'dump_grep_expression'. This was before
      I had seen this patch email, or the resulting commit 07a7d656.
      Since my "patch from yesterday" is a strict subset of your patch,
      then your patch also fixes the complaint from sparse regarding
      the 'dump_grep_expression' symbol.
    - this patch (commit 07a7d656) causes sparse to complain about the
      symbols 'grep_source_load' and 'grep_source_is_binary'. The new
      patch from me ("timestamped two minutes after ...") also titled
      "grep.c: Fix some sparse warnings" on 19-09-2012 at 7:04 PM, is
      *not* a subset of commit 07a7d656. This patch addresses the new
      sparse warnings regarding 'grep_source_load' and
      'grep_source_is_binary'.
Hopefully that addresses the confusion! ;-)
HTH

ATB, Ramsay Jones

Previous: Junio C HamanoNext: Junio C Hamano
Message 10 of 15 in “test-string-list.c: Fix some sparse warnings”
  1. test-string-list.c: Fix some sparse warningsRamsay Jones, Sep 15, 2012
  2. Junio C HamanoSep 15, 2012
  3. 1/7 builtin/notes.c: mark file-scope functions as staticJunio C Hamano, Sep 15, 2012
  4. 2/7 commit.c: mark file-scope functions as staticJunio C Hamano, Sep 15, 2012
  5. 3/7 diff.c: mark private file-scope symbols as staticJunio C Hamano, Sep 15, 2012
  6. 4/7 graph.c: mark private file-scope symbols as staticJunio C Hamano, Sep 15, 2012
  7. 5/7 grep.c: mark private file-scope symbols as staticJunio C Hamano, Sep 15, 2012
  8. Ramsay JonesSep 19, 2012
  9. Junio C HamanoSep 19, 2012
  10. Ramsay JonesSep 20, 2012
  11. 6/7 rerere.c: mark private file-scope symbols as staticJunio C Hamano, Sep 15, 2012
  12. 7/7 notes.c: mark private file-scope symbols as staticJunio C Hamano, Sep 15, 2012
  13. Michael HaggertySep 17, 2012
  14. Ramsay JonesSep 19, 2012
  15. Michael HaggertySep 20, 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.