Re: [Mesa-dev] [PATCH 5/7] dri: Fix the logger error message handling.

2014-01-27 Thread Emil Velikov
On 23/01/14 23:12, Eric Anholt wrote: > Since the loader changes, there has been a compiler warning that the > prototype didn't match. It turns out that if a loader error message was > ever thrown, you'd segfault because of trying to use the warning level as > a format string. Truly sorry about th

Re: [Mesa-dev] [PATCH 5/7] dri: Fix the logger error message handling.

2014-01-26 Thread Keith Packard
Eric Anholt writes: > Since the loader changes, there has been a compiler warning that the > prototype didn't match. It turns out that if a loader error message was > ever thrown, you'd segfault because of trying to use the warning level as > a format string. (Just rebased my dri3+gallium branc

[Mesa-dev] [PATCH 5/7] dri: Fix the logger error message handling.

2014-01-23 Thread Eric Anholt
Since the loader changes, there has been a compiler warning that the prototype didn't match. It turns out that if a loader error message was ever thrown, you'd segfault because of trying to use the warning level as a format string. --- src/glx/dri3_glx.c | 2 +- src/glx/dri_common.c | 25 +