[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

xorg-server: Changes to 'debian-unstable'



 debian/patches/03_auto_load_driver.diff |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cfdc685586d307fe63436aa41ff8dd82f21187c5
Author: David Nusinow <dnusinow@debian.org>
Date:   Sun Sep 16 23:36:31 2007 -0400

    Fix addressing thinko in previous cleanup

diff --git a/debian/patches/03_auto_load_driver.diff b/debian/patches/03_auto_load_driver.diff
index 12ef98c..3c89522 100644
--- a/debian/patches/03_auto_load_driver.diff
+++ b/debian/patches/03_auto_load_driver.diff
@@ -114,7 +114,7 @@ Index: xorg-server/hw/xfree86/common/xf86AutoConfig.c
 +            }
 +            len = strlen(direntry->d_name);
 +            /* A tiny bit of sanity checking. We should probably do better */
-+            if (strncmp(direntry->d_name[len-4], ".ids", 4) == 0) {
++            if (strncmp(&(direntry->d_name[len-4]), ".ids", 4) == 0) {
 +                /* We need the full path name to open the file */
 +                strncpy(path_name, "/usr/share/xserver-xorg/pci/", 256);
 +                strncat(path_name, direntry->d_name, (256 - strlen(path_name)));



Reply to: