]> Zhao Yanbai Git Server - acecode.git/commitdiff
...
authorAce <acezhao@tencent.com>
Wed, 6 Jul 2016 09:28:50 +0000 (17:28 +0800)
committerAce <acezhao@tencent.com>
Wed, 6 Jul 2016 09:28:50 +0000 (17:28 +0800)
learn/test/cpuid.cc [moved from tools/comm/cpuid.cc with 100% similarity]
tools/comm/Makefile
tools/comm/countc.c

similarity index 100%
rename from tools/comm/cpuid.cc
rename to learn/test/cpuid.cc
index 2ca933df711052053d471231933ad63ba392bc4f..b879cec33e32d98331fc1bf6b52e5bed869751be 100644 (file)
@@ -1,6 +1,6 @@
 CC     = gcc
 CPP    = g++
-BINS   = countc htc cpuid
+BINS   = countc htc
 SCRIPTS = cls cs
 DST    = $(HOME)/.local/bin/ 
 
index 41c6e357356b95f904ec4eec328f4a0e7f53c059..2c5ee97203d5710043733a97ca4186eec29620e0 100644 (file)
@@ -89,6 +89,7 @@ void  count_file(char *path)
        && !valid_type(path,"S") && !valid_type(path,"s")
        && !valid_type(path,"pl")
        && !valid_type(path,"py")
+       && !valid_type(path,"rb")
        && !valid_type(path,"go")
        && !valid_type(path,"php")
        && !valid_type(path,"asp")