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

Re: [PATCH] #include limts.h for ULONG_MAX

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 27 Mar 2013 10:25:16 +0000

Joe Swatosh <joe.swatosh_at_gmail.com> writes:

> Okay, thanks for giving me hints on this. As a matter of fact, my apr
> does NOT have a section like this. It is just doing a straight up copy
> of apr.hw. I've downloaded a few different versions of apr and none of
> them have a block like that in apr.hw. Heading over to the apr list
> now to ask for more help....
>
> Again thanks for pointing out to me why it's working for everyone else.

It may still be a bug in Subversion. We are using ULONG_MAX in
svn_types.h:

  #define SVN_LINENUM_MAX_VALUE ULONG_MAX

and ULONG_MAX isn't an APR constant. Perhaps Subversion should be
including limits.h explicitly rather than relying on apr.h to pull it
in?

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2013-03-27 11:26:06 CET

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.