From 7df4b0e9fb47a2c416b2dda5bee5b4418a844ac1 Mon Sep 17 00:00:00 2001 From: Ace Date: Wed, 6 Jul 2016 17:28:50 +0800 Subject: [PATCH] ... --- {tools/comm => learn/test}/cpuid.cc | 0 tools/comm/Makefile | 2 +- tools/comm/countc.c | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) rename {tools/comm => learn/test}/cpuid.cc (100%) 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") -- 2.44.0