On 13 November 2016 at 23:30, Samuel Thibault
wrote:
> GNU/Hurd does not define PATH_MAX since it doesn't have such arbitrary
> limitation. This works around it in arbprogram.c and shaderapi.c by
> defining PATH_MAX to an arbitrary value (4096, as on Linux).
>
>
Hello,
These two mails are two proposals to fix
https://bugs.freedesktop.org/show_bug.cgi?id=98632
Either properly fix the code, or just define PATH_MAX and be "done" with
it.
Samuel
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
GNU/Hurd does not define PATH_MAX since it doesn't have such arbitrary
limitation. This drops the use of PATH_MAX by just allocating
the proper buffer size, and disables the path length check in
_mesa_get_shader_capture_path.
Signed-off-by: Samuel Thibault
Bugzilla:
GNU/Hurd does not define PATH_MAX since it doesn't have such arbitrary
limitation. This works around it in arbprogram.c and shaderapi.c by
defining PATH_MAX to an arbitrary value (4096, as on Linux).
Signed-off-by: Samuel Thibault
Bugzilla: