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

Re: apr_dir_make_recursive only on Unix and Win32?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-10-30 05:59:25 CET

On Wed, 2003-10-29 at 18:18, Julian Foad wrote:
> APR has versions of apr_dir_make_recursive for UNIX and Win32. On OS2
> it returns NOT_IMPLEMENTED, and on Netware and Beos it doesn't exist.
> What is the remit of APR? That is, does it aim to provide each
> facility uniformly on each platform regardless of how much code that
> requires, or does it aim to provide some facilities only on platforms
> where that facility is cheaply available?

My understanding is that APR aims to provide each facility as uniformly
as possible. That's the reason, for example, that its file_io API has
nothing about permissions; there's no permissions system that can
reasonably cover all supported operating systems.

But in the case of apr_dir_make_recursive... the only reason there's no
support for OS2, Netware and Beos is because nobody bothered to write
them. IIRC, kfogel wrote that function originally as
svn_io_dir_make_recursive, and later contributed it to APR. A number of
svn committers are also APR committers. I'm sure the APR project would
love a patch to add support for the missing operating systems.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 30 06:00:10 2003

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.