On Wed, Jan 16, 2013 at 2:29 AM, Junio C Hamano <gits...@pobox.com> wrote:
> "Jean-Noël AVILA" <avila...@gmail.com> writes:
>> Thank you for the explanation.
>> I did not monitor the system calls when writing that patch.
>> Where is the perf framework?
>> As the mistake is located in the "find_basename" function, I would propose a
>> fix directly into it so that the output fits what the other functions expect.
> Isn't that a crazy semantics for the function, though? I would
> expect find_basename("/a/path/to/file") to return "file", not
Actually I'd like to remove that function. The function is called twice:
which could be reordered to
+ prepare_attr_stack (modified to take dirlen from caller)
and because that'll be the only place find_basename is used, we could
just inline the code there.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html