SOURCES: kernel-config.py - allow lowercase hex values too (HIGHME...

glen glen at pld-linux.org
Tue Jan 29 12:20:42 CET 2008


Author: glen                         Date: Tue Jan 29 11:20:42 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- allow lowercase hex values too (HIGHMEM_START=0xfe000000 on ac-ppc)

---- Files affected:
SOURCES:
   kernel-config.py (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SOURCES/kernel-config.py
diff -u SOURCES/kernel-config.py:1.8 SOURCES/kernel-config.py:1.9
--- SOURCES/kernel-config.py:1.8	Tue Jan 29 08:30:18 2008
+++ SOURCES/kernel-config.py	Tue Jan 29 12:20:37 2008
@@ -143,7 +143,7 @@
         cfg += "CONFIG_%s=%s\n" % (key, val)
     elif re.compile('^-?[0-9]+$').match(val):
         cfg += "CONFIG_%s=%s\n" % (key, val)
-    elif re.compile('^0x[0-9A-F]+$').match(val):
+    elif re.compile('^0x[0-9A-Fa-f]+$').match(val):
         cfg += "CONFIG_%s=%s\n" % (key, val)
     else:
         print "Unknown value [%s] for key: %s" % (val, key)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/kernel-config.py?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list