Re: [PATCH] Fix in-place editing in crlf_to_git and ident_to_git.
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Oct 5, 2007, 08:30 UTC
- Message-ID
- <Pine.LNX.4.64.0710050930030.4174@racer.site>
- In-Reply-To
- <20071005082026.GE19879@artemis.corp>
Hi,
On Fri, 5 Oct 2007, Pierre Habouzit wrote:
> When crlf_to_git or ident_to_git are called "in place", the buffer > already is big enough and should not be resized (as it could make the > buffer address change, hence invalidate the `src' pointers !).
I wonder why we resize at all if the buffer is big enough to begin with.
Ciao, Dscho