[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: etags test is broken on MS-Windows

From: Paul Eggert
Subject: Re: etags test is broken on MS-Windows
Date: Thu, 21 May 2015 12:03:44 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 05/21/2015 09:55 AM, Eli Zaretskii wrote:
IOW, the "CRLF->LF translation" that the comment mentions is done on
all platforms.  Or am I missing something?

I was thinking about the case where a source file has mostly lines with LF but a few lines end in CRLF. E.g., the attached file has a CR at the end of the second line. In that case, Emacs doesn't strip the trailing CRs on GNU/Linux. Wouldn't the byte counts get messed up then?

Come to think of it, one of the etags test cases did that before I removed the CR (and perhaps that was part of the test...).

Attachment: xx.c
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]