From 18d2b9b07595ea18e30ba2a445fba5deb23b064c Mon Sep 17 00:00:00 2001 From: Veselin Georgiev Date: Sun, 9 Sep 2012 22:29:12 +0000 Subject: [PATCH] Updated checking scripts git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@108 3b4be424-7ac5-41d7-8526-f4ddcb85d872 --- libcpuid/check-consistency.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcpuid/check-consistency.py b/libcpuid/check-consistency.py index f881719..077a848 100755 --- a/libcpuid/check-consistency.py +++ b/libcpuid/check-consistency.py @@ -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