mirror of
https://github.com/anrieff/libcpuid
synced 2024-12-16 16:35:45 +00:00
Updated checking scripts
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@108 3b4be424-7ac5-41d7-8526-f4ddcb85d872
This commit is contained in:
parent
f385bac458
commit
18d2b9b075
1 changed files with 2 additions and 2 deletions
|
@ -115,9 +115,9 @@ for fn in glob.glob("%s/*.c" % sys.argv[1]):
|
|||
continue
|
||||
inner = line[i+1:j]
|
||||
parts = inner.split(",")
|
||||
if len(parts) == 10: #this number needs to change if the definition of match_entry_t ever changes
|
||||
if len(parts) == 11: #this number needs to change if the definition of match_entry_t ever changes
|
||||
cdefs += 1
|
||||
s = parts[9].strip()
|
||||
s = parts[10].strip()
|
||||
if s[0] != '"' or s[-1] != '"':
|
||||
print "..Warning, %s:%d - cannot correctly handle the cpu codename" % (bfn, nline)
|
||||
allok = False
|
||||
|
|
Loading…
Reference in a new issue