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

Re: [Issue 2950] New - Weird prompting to resolve conflicts when EDITOR is not defined

From: Eric Gillespie <epg_at_google.com>
Date: 2007-10-02 03:40:07 CEST

Jack Repenning <jrepenning@collab.net> writes:

> On Oct 1, 2007, at 6:32 PM, Eric Gillespie wrote:
>
> > I advocate setting line buffering in
> > svn_cmdline_init, something like:
> >
> > setvbuf(stderr, NULL, _IOLBF, 0);
> > setvbuf(stdout, NULL, _IOLBF, 0);
>
> +1 on stdout. But isn't stderr ordinarily character-buffered, for
> reasons having to do with ensuring you can report program crash even
> if the crash is because you can't allocate a line buffer to report it?

When connected to a tty, yes; good catch. We should use _IONBF
for stderr.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 2 03:40:24 2007

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

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