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

Re: 'svn diff' and 'svn log' not stopping when pipe is closed

From: Branko Čibej <brane_at_xbc.nu>
Date: 2002-12-12 02:07:16 CET

Nuutti Kotivuori wrote:

>** Using 'apr_file_printf'
>
>Instead of printing with 'printf' directly, we can start using
>'apr_file_open_stdout' and running 'apr_file_printf' on
>it. 'apr_file_printf' will return an error if the write results in
>EPIPE. So if we check all the return values of apr_file_printf calls,
>we can detect EPIPE at any point.
>
>
apr_file_printf will not do the required text-mode stream translation on
Windows. -1.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 12 02:07:59 2002

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.