From: Ace Date: Wed, 6 Jul 2016 09:28:50 +0000 (+0800) Subject: ... X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/Bv9ARM.ch13.html?a=commitdiff_plain;h=7df4b0e9fb47a2c416b2dda5bee5b4418a844ac1;p=acecode.git ... --- diff --git a/tools/comm/cpuid.cc b/learn/test/cpuid.cc similarity index 100% rename from tools/comm/cpuid.cc rename to learn/test/cpuid.cc diff --git a/tools/comm/Makefile b/tools/comm/Makefile index 2ca933d..b879cec 100644 --- a/tools/comm/Makefile +++ b/tools/comm/Makefile @@ -1,6 +1,6 @@ CC = gcc CPP = g++ -BINS = countc htc cpuid +BINS = countc htc SCRIPTS = cls cs DST = $(HOME)/.local/bin/ diff --git a/tools/comm/countc.c b/tools/comm/countc.c index 41c6e35..2c5ee97 100644 --- a/tools/comm/countc.c +++ b/tools/comm/countc.c @@ -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")