[PATCH] loader: actually stat something that has some chance of existing. (v2)

Julien Cristau jcristau at debian.org
Mon Nov 9 04:20:22 PST 2009

On Tue, Oct 13, 2009 at 10:15:00 +1000, Dave Airlie wrote:

> FindModuleInSubdir seems to expect a / at the end of the subdir its
> finding for, so we add the / early, the stat will fail if its
> not a subdir, I'm leaving the S_ISDIR in just in case there is another
> reason it could return 0. This does look a bit silly in strace
> but it seems to work fine.
> I have a very intermittent issue where drivers loses its / that
> I've been seeing on/off for a while, this may or may not fix it.
> Signed-off-by: Dave Airlie <airlied at redhat.com>

Reviewed-by: Julien Cristau <jcristau at debian.org>


More information about the xorg-devel mailing list