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

Re: file-descriptor probs.

From: Branko Čibej <brane_at_xbc.nu>
Date: 2001-09-20 01:22:42 CEST

Ben Collins-Sussman wrote:

>The new system
>--------------
>
> * The tmpfile is created by libsvn_client; ra_dav invokes a
> callback, and the client returns only an apr_file_t that has
> *already* been unlinked. (APR_DELONCLOSE).
>
> * in commit_stream_close,
>
> - the apr_file_t is rewound using apr_file_seek()
> - the filedescriptor is discovered using apr_os_file_get()
>
... which won't work on Windows, where an apr_os_file_t is a HANDLE, not
a Unix-like file descriptor.

I don't know how to solve this except by moving neon on top of APR, or
changing neon's interface to use some kind of generic stream, like we do
in Subversion.

    Brane

-- 
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 Sat Oct 21 14:36:42 2006

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