On Oct 3, 2007, at 7:47 PM, Eric Gillespie wrote:
>> Right now I have this local mod in place so I can work:
>>
>> /* Ignore any errors encountered while attempting to change stream
>> buffering, as the streams should retain their default buffering
>> modes. */
>> setvbuf(error_stream, NULL, _IONBF, 0);
>> +#ifdef WIN32
>> + setvbuf(stdout, NULL, _IONBF, 0);
>> +#elif
>> setvbuf(stdout, NULL, _IOLBF, 0);
>> #endif
>
> I'm afraid it may be too expensive to turn buffering off
> completely
Yeah, I'd go with something like (note the "n" in "ifndef" ;-)
> #ifndef WIN32
> setvbuf(stdout, NULL, _IOLBF, 0);
> #endif
Windows just ain't got no line buffering. Never had it. Never
will. Let it do what it's comfortable with.
-==-
Jack Repenning
Chief Technology Officer
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
office: +1 650.228.2562
mobile: +1 408.835.8090
raindance: +1 877.326.2337, x844.7461
aim: jackrepenning
skype: jrepenning
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 4 05:32:40 2007