[pkg-fso-commits] [SCM] xf86-video-glamo,	SMedia Glamo video driver for X.Org branch, master,	updated. upstream/0.0.0+20090707.git98c012f7-57-g9918e08
    Thomas White 
    taw at bitwiz.org.uk
       
    Fri Jan  8 13:24:57 UTC 2010
    
    
  
The following commit has been merged in the master branch:
commit 8b127f4bd41b30f9ed89d8513701ec91343cbb7d
Author: Thomas White <taw at bitwiz.org.uk>
Date:   Sat Aug 22 22:01:38 2009 +0100
    Fix GlamkKernelModesettingAvailable() so that it works
diff --git a/src/glamo-kms-driver.c b/src/glamo-kms-driver.c
index afc7d6b..3c281a3 100644
--- a/src/glamo-kms-driver.c
+++ b/src/glamo-kms-driver.c
@@ -87,6 +87,7 @@ Bool GlamoKernelModesettingAvailable()
 	do {
 
 		ent = readdir(dir);
+		if ( !ent ) return FALSE;
 
 		if ( strncmp(ent->d_name, "drm:controlD", 12) == 0 ) {
 			closedir(dir);
-- 
xf86-video-glamo, SMedia Glamo video driver for X.Org
    
    
More information about the pkg-fso-commits
mailing list