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

Re: repository conversion on windows fails / binary file

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-06-12 00:35:29 CEST

On Tue, Jun 11, 2002 at 10:10:22PM +0200, Branko Cibej wrote:
>...
> The solution is to reopen the streams in binary mode, obviously. I
> wonder how you do that in APR.

Pass APR_BINARY to the apr_file_open() function. Not a problem.

Of course, it appears that apr/file_io/win32/open.c doesn't even look for
that flag :-(

Hmm. And reopening stdout/stdin in binary mode... oof. No fricking clue.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 12 00:34:24 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.