[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] libutil: find: Define PATH_MAX for GNU/Hurd systems.

From: Shigio YAMAGUCHI
Subject: Re: [PATCH] libutil: find: Define PATH_MAX for GNU/Hurd systems.
Date: Mon, 20 Jun 2016 16:17:50 +0900

> +/* MAX_PATH is not defined in some platforms, most notably GNU/Hurd.
> +   In that case we define it here to some constant. */

Since PATH_MAX is buffer size that realpath(3) assumes,
setting a wrong size would destroy memory.
How can we know correct size?

2016-06-20 1:08 GMT+09:00 Manolis Ragkousis <address@hidden>:
Hello everyone,

On GNU/Hurd systems PATH_MAX is not defined and as a result the latest
version of Global cannot be built for them.

This patch is a workaround for this.  Defining to 200 was an arbitrary
choice from my part.

Thank you,

Bug-global mailing list

Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

reply via email to

[Prev in Thread] Current Thread [Next in Thread]