monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] continued problems


From: Matthew Gregan
Subject: Re: [Monotone-devel] continued problems
Date: Fri, 2 Sep 2005 10:27:51 +1200
User-agent: Mutt/1.5.10i

At 2005-08-27T22:13:12-0700, Howard Spindel wrote:
> I had been running monotone under a WinXP cmd.exe.  After reading the 
> below, I downloaded and installed a Cygwin bash shell.  The results 
> running under the bash shell are identical to those running under the 
> cmd.exe - addressing errors when running diff.

> When I try the db load command, I get:

> monotone: error: sqlite error [1]: near 
> "'H4sIAAAAAAAAAOxdCXgcxZXukSxbtuX7AGxsyyCDAWvGJ2DL2NZh2SNLtpHkI7Y4WjMtqa2e
> monotone: error: 
> 6WG6RxpxJCbhvkM4kkC4A0kgIYGwSTgScyUBcpFgCElISAwE2EAgHAmE4H1V1T3Tx2tpquTd
> monotone: error: 
> zbc77c+j6emq/6969erVq1fV3S/s37//7Tmfv3nKdyY/HpLaBhJy0lRilVH4TCcVs7Jd1zWj

> followed by hundreds more lines that look similar except the garbagy 
> characters change.  It looks to me like lines that are supposed to be 
> data are getting interpreted as commands.

Thanks for reporting this.  It turned out to be a Win32 (really, MinGW)
specific problem where std::cin was returning EOF early after the
standard I/O streams had been unsynchronized with a call to
sync_with_stdio(false) when feed input that contained DOS newlines.

The correct solution for this needs a fix in MinGW.  For now, I've
committed a change to mainline (rev. fc87df) to work around this
problem.

Cheers,
-mjg
-- 
Matthew Gregan                     |/
                                  /|                address@hidden




reply via email to

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