You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by David Glasser <gl...@mit.edu> on 2006/09/20 06:15:44 UTC

Re: svn commit: r21561 - in trunk/subversion: include libsvn_client libsvn_subr

On 9/19/06, dlr@tigris.org <dl...@tigris.org> wrote:
> --- trunk/subversion/libsvn_subr/hash.c (original)
> +++ trunk/subversion/libsvn_subr/hash.c Tue Sep 19 15:42:07 2006
> @@ -21,6 +21,7 @@
>  #include <stdlib.h>
>  #include <limits.h>
>  #include <assert.h>
> +#include <apr_version.h>
>  #include <apr_pools.h>
>  #include <apr_hash.h>
>  #include <apr_file_io.h>
> @@ -429,3 +430,25 @@
>
>    return SVN_NO_ERROR;
>  }
> +
> +
> +/*** Misc. hash APIs ***/
> +
> +svn_error_t *
> +svn_hash_clear(apr_hash_t *hash)
> +{
> +#if APR_VERSION_AT_LEAST(1, 3, 0)

APR_VERSION_AT_LEAST is new in 1.3.0, so this breaks the build for pre-1.3.0.

I am committing a quick fix to change this to "#ifdef
APR_VERSION_AT_LEAST" to preserve the ability to build trunk; somebody
who knows APR better than me might want to make a better change.
(#ifdef does work for macros, right?)

--dave

-- 
David Glasser | glasser@mit.edu | http://www.davidglasser.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org


Re: APR version/API compatibility issues

Posted by David Glasser <gl...@mit.edu>.
On 9/21/06, Garrett Rooney <ro...@electricjellyfish.net> wrote:
> Macros are one thing, they're compile-time-only and we can restrict
> them to places that users don't see  (now, we didn't do that for
> APR_ARRAY_IDX and friends, but we probably should have).  I'd be less
> thrilled with the idea of us exposing actual symbols prefixed with
> apr_foo.

Agreed, I would never expect that an implementation of apr_foo would
be defined inside Subversion and I can see much potential for
confusion.

--dave

-- 
David Glasser | glasser@mit.edu | http://www.davidglasser.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: APR version/API compatibility issues

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 9/21/06, Daniel Rall <dl...@collab.net> wrote:

> How about the svn_hash_clear() function I committed to
> svn_hash.h/hash.c a couple days ago?  It's basically just a wrapper
> around or re-implementation of APR's apr_hash_clear() API (also found
> in APR 1.3.0).  Should I then do away with svn_hash_clear(), and
> conditionally define apr_hash_clear() in svn_compat.h?

Macros are one thing, they're compile-time-only and we can restrict
them to places that users don't see  (now, we didn't do that for
APR_ARRAY_IDX and friends, but we probably should have).  I'd be less
thrilled with the idea of us exposing actual symbols prefixed with
apr_foo.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [patch] Use the appropriate naming convention for protected APIs

Posted by Kamesh Jayachandran <ka...@collab.net>.
Looks fine with me. Posted a similar patch for svn_atomic_init_once.

With regards
Kamesh Jayachandran
Daniel Rall wrote:
> On Thu, 21 Sep 2006, David James wrote:
>
>   
>> On 9/21/06, Daniel Rall <dl...@collab.net> wrote:
>>     
>>> Okay, I'm committing a change which makes an APR_VERSION_AT_LEAST()
>>> macro available.
>>>
>>> How about the svn_hash_clear() function I committed to
>>> svn_hash.h/hash.c a couple days ago?  It's basically just a wrapper
>>> around or re-implementation of APR's apr_hash_clear() API (also found
>>> in APR 1.3.0).  Should I then do away with svn_hash_clear(), and
>>> conditionally define apr_hash_clear() in svn_compat.h?
>>>       
>> That seems nice and consistent. In that case, it might make sense to
>> rename 'svn_hash_clear' to 'svn__hash_clear', so as to make clear that
>> it's a private function which shouldn't be called directly (except
>> through the macro).
>>     
>
> How's this?  We might want to do the same to the
> svn_atomic_init_once() API in svn_atomic.h...
>
> [[[
> Rename svn_hash_clear() to svn_hash__clear() to reflect that it's not
> part of Subversion's public API.
>
> * subversion/include/svn_hash.h
> * subversion/libsvn_subr/hash.c
>   (svn_hash__clear): Rename from svn_hash_clear().
>
> * subversion/libsvn_client/repos_diff.c
>   (close_directory): Update for new API name.
> ]]]
>
> Index: subversion/include/svn_hash.h
> ===================================================================
> --- subversion/include/svn_hash.h	(revision 21640)
> +++ subversion/include/svn_hash.h	(working copy)
> @@ -200,7 +200,7 @@
>   *
>   * @since New in 1.5.
>   */
> -svn_error_t *svn_hash_clear(apr_hash_t *hash);
> +svn_error_t *svn_hash__clear(apr_hash_t *hash);
>  
>  /** @} */
>  
> Index: subversion/libsvn_subr/hash.c
> ===================================================================
> --- subversion/libsvn_subr/hash.c	(revision 21640)
> +++ subversion/libsvn_subr/hash.c	(working copy)
> @@ -436,7 +436,7 @@
>  /*** Misc. hash APIs ***/
>  
>  svn_error_t *
> -svn_hash_clear(apr_hash_t *hash)
> +svn_hash__clear(apr_hash_t *hash)
>  {
>  #if APR_VERSION_AT_LEAST(1, 3, 0)
>    apr_hash_clear(hash);
> Index: subversion/libsvn_client/repos_diff.c
> ===================================================================
> --- subversion/libsvn_client/repos_diff.c	(revision 21640)
> +++ subversion/libsvn_client/repos_diff.c	(working copy)
> @@ -794,7 +794,7 @@
>    svn_error_t *err;
>  
>    if (eb->dry_run)
> -    svn_hash_clear(svn_client__dry_run_deletions(eb->diff_cmd_baton));
> +    svn_hash__clear(svn_client__dry_run_deletions(eb->diff_cmd_baton));
>  
>    if (b->propchanges->nelts > 0)
>      {
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

[patch] Use the appropriate naming convention for protected APIs

Posted by Daniel Rall <dl...@collab.net>.
On Thu, 21 Sep 2006, David James wrote:

> On 9/21/06, Daniel Rall <dl...@collab.net> wrote:
> >Okay, I'm committing a change which makes an APR_VERSION_AT_LEAST()
> >macro available.
> >
> >How about the svn_hash_clear() function I committed to
> >svn_hash.h/hash.c a couple days ago?  It's basically just a wrapper
> >around or re-implementation of APR's apr_hash_clear() API (also found
> >in APR 1.3.0).  Should I then do away with svn_hash_clear(), and
> >conditionally define apr_hash_clear() in svn_compat.h?
> 
> That seems nice and consistent. In that case, it might make sense to
> rename 'svn_hash_clear' to 'svn__hash_clear', so as to make clear that
> it's a private function which shouldn't be called directly (except
> through the macro).

How's this?  We might want to do the same to the
svn_atomic_init_once() API in svn_atomic.h...

[[[
Rename svn_hash_clear() to svn_hash__clear() to reflect that it's not
part of Subversion's public API.

* subversion/include/svn_hash.h
* subversion/libsvn_subr/hash.c
  (svn_hash__clear): Rename from svn_hash_clear().

* subversion/libsvn_client/repos_diff.c
  (close_directory): Update for new API name.
]]]

Index: subversion/include/svn_hash.h
===================================================================
--- subversion/include/svn_hash.h	(revision 21640)
+++ subversion/include/svn_hash.h	(working copy)
@@ -200,7 +200,7 @@
  *
  * @since New in 1.5.
  */
-svn_error_t *svn_hash_clear(apr_hash_t *hash);
+svn_error_t *svn_hash__clear(apr_hash_t *hash);
 
 /** @} */
 
Index: subversion/libsvn_subr/hash.c
===================================================================
--- subversion/libsvn_subr/hash.c	(revision 21640)
+++ subversion/libsvn_subr/hash.c	(working copy)
@@ -436,7 +436,7 @@
 /*** Misc. hash APIs ***/
 
 svn_error_t *
-svn_hash_clear(apr_hash_t *hash)
+svn_hash__clear(apr_hash_t *hash)
 {
 #if APR_VERSION_AT_LEAST(1, 3, 0)
   apr_hash_clear(hash);
Index: subversion/libsvn_client/repos_diff.c
===================================================================
--- subversion/libsvn_client/repos_diff.c	(revision 21640)
+++ subversion/libsvn_client/repos_diff.c	(working copy)
@@ -794,7 +794,7 @@
   svn_error_t *err;
 
   if (eb->dry_run)
-    svn_hash_clear(svn_client__dry_run_deletions(eb->diff_cmd_baton));
+    svn_hash__clear(svn_client__dry_run_deletions(eb->diff_cmd_baton));
 
   if (b->propchanges->nelts > 0)
     {


Re: APR version/API compatibility issues

Posted by David James <dj...@collab.net>.
On 9/21/06, Daniel Rall <dl...@collab.net> wrote:
> Okay, I'm committing a change which makes an APR_VERSION_AT_LEAST()
> macro available.
>
> How about the svn_hash_clear() function I committed to
> svn_hash.h/hash.c a couple days ago?  It's basically just a wrapper
> around or re-implementation of APR's apr_hash_clear() API (also found
> in APR 1.3.0).  Should I then do away with svn_hash_clear(), and
> conditionally define apr_hash_clear() in svn_compat.h?

That seems nice and consistent. In that case, it might make sense to
rename 'svn_hash_clear' to 'svn__hash_clear', so as to make clear that
it's a private function which shouldn't be called directly (except
through the macro).

Cheers,

David

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: APR version/API compatibility issues

Posted by Daniel Rall <dl...@collab.net>.
On Thu, 21 Sep 2006, Erik Huelsmann wrote:

> >I was considering using Kamesh's fix for a permanent solution to the
> >compilation problem I introduced yesterday for pre-1.3.0 APR libraries
> >(which David Glasser fixed, and I spruced up), which boiled down to
> >usage of the APR_VERSION_AT_LEAST(1, 3, 0) macro, which wasn't
> >introduced until about a month ago (in 1.3.0 itself).
> >
> >However, after talking things over on IRC, a more easily maintainable
> >solution was suggested -- SVN_APR_VERSION_AT_LEAST().  This macro will
> >both fix this particular case nicely, and allow us to more easily
> >leverage any future new APIs from APR.
> 
> >As this isn't a publicly accessible macro, but does need to be shared
> >across our code base, it was suggested that I put it in
> >private/svn_compat.h.  I'm attaching a patch which does that, and
> >makes use of the macro.
> 
> Or, as we do with APR_ARRAY_IDX and APR_ARRAY_PUSH, you could just
> define APR_VERSION_AT_LEAST conditionally when it's not defined...
> (saves 4 characters)
> 
> I don't have a strong opinion either way, but consistency seems like
> something to strive for.

Okay, I'm committing a change which makes an APR_VERSION_AT_LEAST()
macro available.

How about the svn_hash_clear() function I committed to
svn_hash.h/hash.c a couple days ago?  It's basically just a wrapper
around or re-implementation of APR's apr_hash_clear() API (also found
in APR 1.3.0).  Should I then do away with svn_hash_clear(), and
conditionally define apr_hash_clear() in svn_compat.h?

Re: APR version/API compatibility issues

Posted by Erik Huelsmann <eh...@gmail.com>.
> I was considering using Kamesh's fix for a permanent solution to the
> compilation problem I introduced yesterday for pre-1.3.0 APR libraries
> (which David Glasser fixed, and I spruced up), which boiled down to
> usage of the APR_VERSION_AT_LEAST(1, 3, 0) macro, which wasn't
> introduced until about a month ago (in 1.3.0 itself).
>
> However, after talking things over on IRC, a more easily maintainable
> solution was suggested -- SVN_APR_VERSION_AT_LEAST().  This macro will
> both fix this particular case nicely, and allow us to more easily
> leverage any future new APIs from APR.

> As this isn't a publicly accessible macro, but does need to be shared
> across our code base, it was suggested that I put it in
> private/svn_compat.h.  I'm attaching a patch which does that, and
> makes use of the macro.

Or, as we do with APR_ARRAY_IDX and APR_ARRAY_PUSH, you could just
define APR_VERSION_AT_LEAST conditionally when it's not defined...
(saves 4 characters)

I don't have a strong opinion either way, but consistency seems like
something to strive for.

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: APR version/API compatibility issues

Posted by Kamesh Jayachandran <ka...@collab.net>.
Daniel Rall wrote:
> On Wed, 20 Sep 2006, Kamesh Jayachandran wrote:
> ...
>   
>> Follow up to 'compile failures with versions of APR older than 1.3.0'
>> caused by r21561.
>>
>> * subversion/libsvn_subr/hash.c
>>   Including svn_private_config.h.
>>   (svn_hash_clear): use 'configure' detected 'HAVE_APR_HASH_FUNC' to decide
>>    about the availability of 'apr_hash_clear'.
>> * build/ac-macros/apr.m4
>>   (SVN_LIB_APR): Check for 'apr_hash_clear', if available set 
>>    HAVE_APR_HASH_CLEAR.
>>     
>
> I was considering using Kamesh's fix for a permanent solution to the
> compilation problem I introduced yesterday for pre-1.3.0 APR libraries
> (which David Glasser fixed, and I spruced up), which boiled down to
> usage of the APR_VERSION_AT_LEAST(1, 3, 0) macro, which wasn't
> introduced until about a month ago (in 1.3.0 itself).
>
> However, after talking things over on IRC, a more easily maintainable
> solution was suggested -- SVN_APR_VERSION_AT_LEAST().  This macro will
> both fix this particular case nicely, and allow us to more easily
> leverage any future new APIs from APR.
>
> As this isn't a publicly accessible macro, but does need to be shared
> across our code base, it was suggested that I put it in
> private/svn_compat.h.  I'm attaching a patch which does that, and
> makes use of the macro.
>   
Looks fine with me. Did not see this (due to sudden change in the 
original discussion).

With regards
Kamesh Jayachandran

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

APR version/API compatibility issues

Posted by Daniel Rall <dl...@collab.net>.
On Wed, 20 Sep 2006, Kamesh Jayachandran wrote:
...
> Follow up to 'compile failures with versions of APR older than 1.3.0'
> caused by r21561.
> 
> * subversion/libsvn_subr/hash.c
>   Including svn_private_config.h.
>   (svn_hash_clear): use 'configure' detected 'HAVE_APR_HASH_FUNC' to decide
>    about the availability of 'apr_hash_clear'.
> * build/ac-macros/apr.m4
>   (SVN_LIB_APR): Check for 'apr_hash_clear', if available set 
>    HAVE_APR_HASH_CLEAR.

I was considering using Kamesh's fix for a permanent solution to the
compilation problem I introduced yesterday for pre-1.3.0 APR libraries
(which David Glasser fixed, and I spruced up), which boiled down to
usage of the APR_VERSION_AT_LEAST(1, 3, 0) macro, which wasn't
introduced until about a month ago (in 1.3.0 itself).

However, after talking things over on IRC, a more easily maintainable
solution was suggested -- SVN_APR_VERSION_AT_LEAST().  This macro will
both fix this particular case nicely, and allow us to more easily
leverage any future new APIs from APR.

As this isn't a publicly accessible macro, but does need to be shared
across our code base, it was suggested that I put it in
private/svn_compat.h.  I'm attaching a patch which does that, and
makes use of the macro.

Re: svn commit: r21561 - in trunk/subversion: include libsvn_client libsvn_subr

Posted by Kamesh Jayachandran <ka...@collab.net>.
Forgot to mention tested the same with 0.9.7 APR and 1.3.0 APR and it 
works accordingly.

With regards
Kamesh Jayachandran
Kamesh Jayachandran wrote:
> Attaching AC_CHECK_FUNC based fix.
>
> With regards
> Kamesh Jayachandran
> Kamesh Jayachandran wrote:
>> David Glasser wrote:
>>> On 9/19/06, dlr@tigris.org <dl...@tigris.org> wrote:
>>>> --- trunk/subversion/libsvn_subr/hash.c (original)
>>>> +++ trunk/subversion/libsvn_subr/hash.c Tue Sep 19 15:42:07 2006
>>>> @@ -21,6 +21,7 @@
>>>>  #include <stdlib.h>
>>>>  #include <limits.h>
>>>>  #include <assert.h>
>>>> +#include <apr_version.h>
>>>>  #include <apr_pools.h>
>>>>  #include <apr_hash.h>
>>>>  #include <apr_file_io.h>
>>>> @@ -429,3 +430,25 @@
>>>>
>>>>    return SVN_NO_ERROR;
>>>>  }
>>>> +
>>>> +
>>>> +/*** Misc. hash APIs ***/
>>>> +
>>>> +svn_error_t *
>>>> +svn_hash_clear(apr_hash_t *hash)
>>>> +{
>>>> +#if APR_VERSION_AT_LEAST(1, 3, 0)
>>>
>>> APR_VERSION_AT_LEAST is new in 1.3.0, so this breaks the build for 
>>> pre-1.3.0.
>>>
>>> I am committing a quick fix to change this to "#ifdef
>>> APR_VERSION_AT_LEAST" to preserve the ability to build trunk; somebody
>>> who knows APR better than me might want to make a better change.
>>> (#ifdef does work for macros, right?)
>>>
>>> --dave
>>>
>> I don't think.
>> I believe having AC_CHECK_FUNC based 'apr_hash_clear' detection 
>> should be the way to go.
>> I am cooking the same.
>>
>> With regards
>> Kamesh Jayachandran
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: dev-help@subversion.tigris.org
>>
>
> ------------------------------------------------------------------------
>
> Index: subversion/libsvn_subr/hash.c
> ===================================================================
> --- subversion/libsvn_subr/hash.c	(revision 21564)
> +++ subversion/libsvn_subr/hash.c	(working copy)
> @@ -32,6 +32,7 @@
>  #include "svn_sorts.h"
>  #include "svn_io.h"
>  #include "svn_pools.h"
> +#include "svn_private_config.h"
>  
>  
>  
> @@ -437,7 +438,7 @@
>  svn_error_t *
>  svn_hash_clear(apr_hash_t *hash)
>  {
> -#ifdef APR_VERSION_AT_LEAST
> +#ifdef HAVE_APR_HASH_CLEAR
>    apr_hash_clear(hash);
>  #else
>    apr_hash_index_t *hi;
> Index: build/ac-macros/apr.m4
> ===================================================================
> --- build/ac-macros/apr.m4	(revision 21564)
> +++ build/ac-macros/apr.m4	(working copy)
> @@ -59,6 +59,12 @@
>      AC_MSG_ERROR([apr-config --cflags failed])
>    fi
>  
> +  dnl APR_LINK_SWITCH
> +  LDFLAGS="$LDFLAGS `$apr_config --link-ld`"
> +  AC_CHECK_FUNC(apr_hash_clear, AC_DEFINE(HAVE_APR_HASH_CLEAR,,
> +               [Define if we have apr_hash_clear in apr]))
> +
> +  dnl Actual LDFLAGS
>    LDFLAGS="$LDFLAGS `$apr_config --ldflags`"
>    if test $? -ne 0; then
>      AC_MSG_ERROR([apr-config --ldflags failed])
>   
> ------------------------------------------------------------------------
>
> [[[
> Patch by: Kamesh Jayachandran <ka...@collab.net>
>
> Follow up to 'compile failures with versions of APR older than 1.3.0'
> caused by r21561.
>
> * subversion/libsvn_subr/hash.c
>   Including svn_private_config.h.
>   (svn_hash_clear): use 'configure' detected 'HAVE_APR_HASH_FUNC' to decide
>    about the availability of 'apr_hash_clear'.
> * build/ac-macros/apr.m4
>   (SVN_LIB_APR): Check for 'apr_hash_clear', if available set 
>    HAVE_APR_HASH_CLEAR.
> ]]]
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn commit: r21561 - in trunk/subversion: include libsvn_client libsvn_subr

Posted by Kamesh Jayachandran <ka...@collab.net>.
Attaching AC_CHECK_FUNC based fix.

With regards
Kamesh Jayachandran
Kamesh Jayachandran wrote:
> David Glasser wrote:
>> On 9/19/06, dlr@tigris.org <dl...@tigris.org> wrote:
>>> --- trunk/subversion/libsvn_subr/hash.c (original)
>>> +++ trunk/subversion/libsvn_subr/hash.c Tue Sep 19 15:42:07 2006
>>> @@ -21,6 +21,7 @@
>>>  #include <stdlib.h>
>>>  #include <limits.h>
>>>  #include <assert.h>
>>> +#include <apr_version.h>
>>>  #include <apr_pools.h>
>>>  #include <apr_hash.h>
>>>  #include <apr_file_io.h>
>>> @@ -429,3 +430,25 @@
>>>
>>>    return SVN_NO_ERROR;
>>>  }
>>> +
>>> +
>>> +/*** Misc. hash APIs ***/
>>> +
>>> +svn_error_t *
>>> +svn_hash_clear(apr_hash_t *hash)
>>> +{
>>> +#if APR_VERSION_AT_LEAST(1, 3, 0)
>>
>> APR_VERSION_AT_LEAST is new in 1.3.0, so this breaks the build for 
>> pre-1.3.0.
>>
>> I am committing a quick fix to change this to "#ifdef
>> APR_VERSION_AT_LEAST" to preserve the ability to build trunk; somebody
>> who knows APR better than me might want to make a better change.
>> (#ifdef does work for macros, right?)
>>
>> --dave
>>
> I don't think.
> I believe having AC_CHECK_FUNC based 'apr_hash_clear' detection should 
> be the way to go.
> I am cooking the same.
>
> With regards
> Kamesh Jayachandran
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>


Re: svn commit: r21561 - in trunk/subversion: include libsvn_client libsvn_subr

Posted by Kamesh Jayachandran <ka...@collab.net>.
David Glasser wrote:
> On 9/19/06, dlr@tigris.org <dl...@tigris.org> wrote:
>> --- trunk/subversion/libsvn_subr/hash.c (original)
>> +++ trunk/subversion/libsvn_subr/hash.c Tue Sep 19 15:42:07 2006
>> @@ -21,6 +21,7 @@
>>  #include <stdlib.h>
>>  #include <limits.h>
>>  #include <assert.h>
>> +#include <apr_version.h>
>>  #include <apr_pools.h>
>>  #include <apr_hash.h>
>>  #include <apr_file_io.h>
>> @@ -429,3 +430,25 @@
>>
>>    return SVN_NO_ERROR;
>>  }
>> +
>> +
>> +/*** Misc. hash APIs ***/
>> +
>> +svn_error_t *
>> +svn_hash_clear(apr_hash_t *hash)
>> +{
>> +#if APR_VERSION_AT_LEAST(1, 3, 0)
>
> APR_VERSION_AT_LEAST is new in 1.3.0, so this breaks the build for 
> pre-1.3.0.
>
> I am committing a quick fix to change this to "#ifdef
> APR_VERSION_AT_LEAST" to preserve the ability to build trunk; somebody
> who knows APR better than me might want to make a better change.
> (#ifdef does work for macros, right?)
>
> --dave
>
I don't think.
I believe having AC_CHECK_FUNC based 'apr_hash_clear' detection should 
be the way to go.
I am cooking the same.

With regards
Kamesh Jayachandran


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org