[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: issue #1481 (diff and streaming)

From: <dan_at_kearns.net>
Date: 2004-01-06 19:10:32 CET

On Tue, 06 Jan 2004 18:27:53 +0100, Sander Striker wrote:

> The output stream seems to be running out of storage (?!).
> > BUT, if I instead do:
> > > svn diff -r 201 XmlObjectPrinter.java | more
> > It works fine.
> I'm puzzled. Is this some weird property of the windows cmd?

Yeah, that'd be my guess. Based on absolutely no actual knowledge, I'd guess
maybe it has a line buffer and auto-flushes it on eol, so writing to it as a
stream with no windows eols would overrun it?

This (http://www.gnu.org/software/emacs/windows/faq7.html) leads me to think
that someplace there is a "don't buffer me you stupid console" flag which should
maybe be set.

Not that it's relevant, but my googling for cmd.exe buffering wierdness turned
up this nice link as well - apparently if you print out tab-backspace-backspace
you reboot the machine! ;-)

http://archives.neohapsis.com/archives/vuln-dev/2001-q4/0329.html

-d

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 6 19:11:25 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.