|
From: | Timothy Brownawell |
Subject: | Re: [Monotone-devel] mtn annotate segmentation fault on empty file |
Date: | Tue, 05 Jan 2010 22:09:47 -0600 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 |
On 1/5/2010 9:51 AM, Nuno Lucas wrote:
Attached is a test repository with an empty file on the branch "teste.master" where "mtn annotate" segfaults.
Thanks for the report.The code that figures out how long the empty space in lines without a label (like lines 3 and 4 in your example below) was assuming that there was at least one line in the file. This is fixed in e38d357a7f380ac810e610b7904b5868d68ba1f6 and should be in the next release.
$ mtn annota file1.c 39f230e3.. by lucas 2010-01-03: /* Another CP-1252 text: ������ */ ccc40b98.. by lucas 2010-01-03: /* Simple pure ASCII comment */ : /* CP-1252 comment: "Isto � um coment�rio!" */ : /* Simple pure ASCII comment 2 */ 39f230e3.. by lucas 2010-01-03: /* Another CP-1252 text: coment�rio... */
[Prev in Thread] | Current Thread | [Next in Thread] |