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

Re: PATH_MAX problem

From: Kevin Pilch-Bisson <kevin_at_pilch-bisson.net>
Date: 2001-02-13 16:40:41 CET

On Tue, Feb 13, 2001 at 10:58:24AM -0500, pete collins wrote:
> I manually addd this to `target.c'
>
> Is this acceptable? (The number is 255 BTW)

Well, sort of. It works as a temporary fix, until the APR stuff is in
place. Eventually, (hopefully later today, APR will be able to discover
that you have _POSIX_PATH_MAX but not PATH_MAX, and it will define
APR_PATH_MAX appropriately. At that point I will change target.c so that
it uses APR's stuff.

>
> Thanks

No, thank you, for finding this problem!
>
> --pete
>

<snip>

> Index: target.c
> ===================================================================
> RCS file: /cvs/subversion/subversion/libsvn_subr/target.c,v
> retrieving revision 1.1
> diff -u -r1.1 target.c
> --- target.c 2001/02/12 18:00:27 1.1
> +++ target.c 2001/02/13 15:31:27
> @@ -23,6 +23,9 @@
> #include "svn_error.h"
> #include "svn_path.h"
> #include "apr_file_info.h"
> +#include "limits.h"
> +
> +#define PATH_MAX _POSIX_PATH_MAX
>
>
> /*** Code. ***/

-- 
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson
kevin@pilch-bisson.net
http://www.pilch-bisson.net
PGP Public Key At http://pgp.pilch-bisson.net

  • application/pgp-signature attachment: stored
Received on Sat Oct 21 14:36:22 2006

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.