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 <[email protected]>

Reviewed-by: Julien Cristau <[email protected]>

Cheers,
Julien
_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to