Re: [PATCH 2/3] glx: Use PATH_MAX as size for filename buffer

2011-03-07 Thread Christopher James Halse Rogers
On Mon, 2011-03-07 at 10:46 -0500, Adam Jackson wrote: > On 3/6/11 10:11 PM, Christopher James Halse Rogers wrote: > > Signed-off-by: Christopher James Halse > > Rogers > > Any chance you can clean this up to be something we get from misc.h or > similar? There's about five #ifdef MAXPATHLENs al

Re: [PATCH 2/3] glx: Use PATH_MAX as size for filename buffer

2011-03-07 Thread Adam Jackson
On 3/6/11 10:11 PM, Christopher James Halse Rogers wrote: Signed-off-by: Christopher James Halse Rogers Any chance you can clean this up to be something we get from misc.h or similar? There's about five #ifdef MAXPATHLENs already in various files. - ajax ___

[PATCH 2/3] glx: Use PATH_MAX as size for filename buffer

2011-03-06 Thread Christopher James Halse Rogers
Signed-off-by: Christopher James Halse Rogers --- glx/glxdricommon.c | 13 - 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/glx/glxdricommon.c b/glx/glxdricommon.c index 5569ab7..f9f7f5b 100644 --- a/glx/glxdricommon.c +++ b/glx/glxdricommon.c @@ -40,6 +40,17 @@ #