monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] "mtn cat" text/binary impedence mismatch


From: Brian May
Subject: Re: [Monotone-devel] "mtn cat" text/binary impedence mismatch
Date: Mon, 06 Nov 2006 20:59:23 +1100
User-agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux)

>>>>> "Larry" == Larry Hastings <address@hidden> writes:

    Larry> If I check in a text file on Windows, then use "mtn cat" to
    Larry> stream it to the console, all the \r\n line endings get
    Larry> converted into \r\r\n.  Maybe it could not do that?
    Larry> Preferably with _setmode() wizardry, so it worked for
    Larry> binary files too, though stripping the \rs from the stream
    Larry> would get it to limp along for text files.

Maybe I am mistaken, but I didn't think monotone supported converting
text mode formats yet? As in all files are treated as binary on all
platforms.

In any case, converting \r\n --> \r\r\n seems broken, shouldn't it be
converting to just \n?
-- 
Brian May <address@hidden>




reply via email to

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