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

Re: [PATCH] cache_tree_find(): remove redundant check in while condition

From
David Kastrup <dak@gnu.org>
Date
Mar 3, 2014, 17:25 UTC
Message-ID
<8761nvkxcv.fsf@fencepost.gnu.org>
In-Reply-To
<5314B6E4.7030607@alum.mit.edu>
Michael Haggerty <mhagger@alum.mit.edu> writes:
Show 14 quoted lines
> On 03/03/2014 05:32 PM, David Kastrup wrote:
>> [...]
>> So perhaps all of that should just be
>> 
>> 		while (*slash == '/')
>> 			slash++;
>> 		if (!*slash)
>> 			return it;
>> 
>
> I just fixed a little thing that caught my eye.  You OWNED it.  You are
> absolutely right.
>
> Will you prepare a patch or would you like me to do it?
Feel free.  I really should be finishing some other patches instead...
-- 
David Kastrup
Previous: Michael Haggerty
Message 4 of 4 in “cache_tree_find(): remove redundant check in while condition”
  1. cache_tree_find(): remove redundant check in while conditionMichael Haggerty, Mar 3, 2014
  2. David KastrupMar 3, 2014
  3. Michael HaggertyMar 3, 2014
  4. David KastrupMar 3, 2014

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.