Re: [Mesa-dev] [PATCH] glx/glvnd: list the strcmp arguments in correct order

2016-09-02 Thread Adam Jackson
On Thu, 2016-09-01 at 10:36 +0100, Emil Velikov wrote: > > From: Emil Velikov > > Currently, due to the inverse order, strcmp will produce negative result > when the needle is towards the start of the haystack. Thus on the next > iteration(s) we'll end up further towards the end and eventually fa

Re: [Mesa-dev] [PATCH] glx/glvnd: list the strcmp arguments in correct order

2016-09-01 Thread Eric Engestrom
On Thu, Sep 01, 2016 at 10:36:44AM +0100, Emil Velikov wrote: > From: Emil Velikov > > Currently, due to the inverse order, strcmp will produce negative result > when the needle is towards the start of the haystack. Thus on the next > iteration(s) we'll end up further towards the end and eventual

[Mesa-dev] [PATCH] glx/glvnd: list the strcmp arguments in correct order

2016-09-01 Thread Emil Velikov
From: Emil Velikov Currently, due to the inverse order, strcmp will produce negative result when the needle is towards the start of the haystack. Thus on the next iteration(s) we'll end up further towards the end and eventually fail to locate the entry. Cc: "12.0" Signed-off-by: Emil Velikov -