[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] maint: ensure PATH_MAX is set correctly
From: |
Eric Blake |
Subject: |
Re: [PATCH] maint: ensure PATH_MAX is set correctly |
Date: |
Thu, 22 Mar 2012 04:53:12 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 |
On 03/21/2012 10:53 PM, Pádraig Brady wrote:
> * src/system.h: Include gnulib's pathmax.h to ensure
> we set PATH_MAX only if needed.
> ---
> src/system.h | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/src/system.h b/src/system.h
> index 49cd08a..e3773bf 100644
> --- a/src/system.h
> +++ b/src/system.h
> @@ -41,6 +41,7 @@ you must include <sys/types.h> before including this file
> #include <unistd.h>
>
> #include <limits.h>
> +#include "pathmax.h"
> #ifndef PATH_MAX
> # define PATH_MAX 8192
> #endif
ACK, once you also modify bootstrap.conf to call out an explicit
dependency on the 'pathmax' module (right now, we're getting it
implicitly via transitive closure).
--
Eric Blake address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature