You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2013/03/09 01:48:36 UTC

[35/50] git commit: TS-1733 Changing it back so that 'C' extension is recognized as a C++ file.

TS-1733 Changing it back so that 'C' extension is recognized as a C++ file.

I originally changed this to handle different cases, but James Peach pointed
out on the mailing list that this is traditionally a C++ extension.


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/deea8b0b
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/deea8b0b
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/deea8b0b

Branch: refs/heads/3.3.x
Commit: deea8b0baf301d02ab5397bb11d0a2fbd47c0771
Parents: 8facd16
Author: Phil Sorber <so...@apache.org>
Authored: Tue Mar 5 13:34:32 2013 -0500
Committer: Phil Sorber <so...@apache.org>
Committed: Tue Mar 5 13:59:04 2013 -0500

----------------------------------------------------------------------
 tools/tsxs.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/deea8b0b/tools/tsxs.in
----------------------------------------------------------------------
diff --git a/tools/tsxs.in b/tools/tsxs.in
index d4165e0..c8fa01a 100755
--- a/tools/tsxs.in
+++ b/tools/tsxs.in
@@ -69,11 +69,11 @@ compile() {
 	SRC=$1
 	extension=`echo $SRC | sed -e 's/^.*\.//g'`
 	case $extension in
-		c|C)
+		c)
 			MY_CFLAGS="$CPPFLAGS $CFLAGS"
 			MY_CC=$CC
 			;;
-		cpp|cxx|cc|CPP|CXX|CC)
+		cpp|cxx|cc|CPP|CXX|CC|C)
 			MY_CFLAGS="$CPPFLAGS $CXXFLAGS"
 			MY_CC=$CXX
 			;;