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

Re: proposal to add apr_check_dir_empty() to APR

From: Cliff Woolley <jwoolley_at_virginia.edu>
Date: 2002-07-02 22:59:48 CEST

On Tue, 2 Jul 2002, Aaron Bannert wrote:

> Non-APR functions that want to use APR's apr_status_t codes don't have
> the luxury of being able to add another code, so given the performance
> tradeoff maybe this is the way to go...

Well, they *can*, but APR doesn't know what to do with them. That's not a
problem in general -- apr-util does it for example. The part that strikes
me as silly is having this massive explosion of status codes when all
we're trying to return is "true" or "false". Why not just provide for
that in APR, leaving 3rd party status codes for things that REALLY need
them (actual unusual conditions, errors, statuses, whatever). Why make
people add their own "APR_FALSE"?


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 2 23:03:36 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.