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

Re: [PATCH] Fix for issue #1789

From: Ivan Zhakov <chemodax_at_gmail.com>
Date: 2007-02-19 07:13:23 CET

On 2/19/07, Jonathan Gilbert <o2w9gs702@sneakemail.com> wrote:
> Hello,
>
> Windows has a bug in its WriteFile API. When the file handle is a console
> output handle and the data chunk is greater than some value around 60 KB,
> instead of doing either a complete write (which would be ideal) or a
> partial write (which is permitted by the API contract), it returns an
> incorrect error causing Subversion to display an error message such as:
>
> svn: Can't write to stream: Not enough storage is available to process this
> command.
>
> Clearly, as the actual bug is in Windows, we can't fix the bug itself, so
> we need a work-around, and common sense dictates that that work-around be
> as close as possible to the API. So, the patch is for APR.
APR is separate project with his own mailing list:
dev@apr.apache.org

I think this patch will be appropriate for that mailing list. Also did
you check trunk version of APR? Probably this bug fixed.

>
> If anyone would like to give me some hints on building under Windows, that
> would also be great. I used "gen-make.py -t vcproj" as per the
> instructions, but ended up with projects that do not reference their
> dependencies and DLLs that do not export any functions at all.
I had the same problem. My problem was that Visual Studio cannot find Python.
Try add path to Python binary directory at Visual Studio binary
directories list.

-- 
Ivan Zhakov
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 19 07:13:40 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.