Re: [PATCH][spice-server] tests: Fix build on Hurd

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

 



On Tue, Feb 24, 2015 at 03:24:52PM +0100, Fabiano Fidêncio wrote:
> As PATH_MAX is not defined on Hurd, let's check for it and define
> whenever it is necessary.
> 
> https://bugs.freedesktop.org/show_bug.cgi?id=74313
> ---
>  server/tests/test_display_base.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/server/tests/test_display_base.c b/server/tests/test_display_base.c
> index 1c909fb..60cb3b2 100644
> --- a/server/tests/test_display_base.c
> +++ b/server/tests/test_display_base.c
> @@ -17,6 +17,10 @@
>  #include "red_channel.h"
>  #include "test_util.h"
>  
> +#ifndef PATH_MAX
> +#define PATH_MAX 4096
> +#endif

Seems people really don't like PATH_MAX
https://www.gnu.org/software/hurd/community/gsoc/project_ideas/maxpath.html
but here it's just in a test program, so not really important, ACK.

Christophe

Attachment: pgpEuaQtol94c.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]