Skip to content
Snippets Groups Projects
Commit 8e8d215c authored by Matt Turner's avatar Matt Turner Committed by Emil Velikov
Browse files

r300g: Use PATH_MAX instead of limiting ourselves to 100 chars.

When built with Gentoo's package manager, the Mesa source directory
exists seven directories deep. The path to the .test file is too long
and is silently truncated, leading to a crash. Just use PATH_MAX.

Cc: 10.4, 10.5 <mesa-stable@lists.freedesktop.org>
Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=540970


Reviewed-by: default avatarTom Stellard <thomas.stellard@amd.com>
(cherry picked from commit f5e2aa13)
parent 1a929baa
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment