Re: [PATCH 17/18] revert: Introduce --continue to continue the operation
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Aug 3, 2011, 13:34 UTC
- Message-ID
- <20110803133435.GA5186@elie.Hillsp>
- In-Reply-To
- <CALkWK0mrx+3jdCQD9xya3AWMsPpSiZzEz+Z9XVxZNzw3UdKMVw@mail.gmail.com>
Ramkumar Ramachandra wrote:
>> On Thursday 28 July 2011 18:52:30 Ramkumar Ramachandra wrote:
>>> + for (p = buf.buf; *p; p = strchr(p, '\n') + 1) {[...]
Show 6 quoted lines
> Yes, that was intentional. Every editor I know of inserts a '\n' at > the end of the last line, and I've seen some applications warn/ break > when the last line is not terminated with '\n'. I suppose another > reason to not change this is consistency -- we don't have to handle > the last line using a special case. So, I personally don't like it, > but I'll add a special case if you insist.
What is the failure mode? If it is a baffling segfault, then I insist.