summaryrefslogtreecommitdiffstats
path: root/generic/tclUtil.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-01-07 15:29:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-01-07 15:29:48 (GMT)
commit9646225554d00279a23c467b52461334ce0c9f44 (patch)
tree63ba48d2f422af11faf568a4a3f8b3308e132aca /generic/tclUtil.c
parenta952237bcf20a7d4140f857c095b3bf0417ca40a (diff)
downloadtcl-remove_trim_header.zip
tcl-remove_trim_header.tar.gz
tcl-remove_trim_header.tar.bz2
Revert Makefile.in changes and remove added tclStringTrim.h header. remove_trim_header
Otherwise, the same changes would be needed by all other Makefile variants as well. It's much easier to create a single constant string in tclInt.h, and use this one everywhere. DKF: No, because the unix makefile is the only one that tracks this info in any case. JN: OK. My most important remark (sharing of constant strings) is handled in [2191bd8485]. I can very well live with that, so closing this branch.
Diffstat (limited to 'generic/tclUtil.c')
-rw-r--r--generic/tclUtil.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/generic/tclUtil.c b/generic/tclUtil.c
index 2d00adf..65d01f7 100644
--- a/generic/tclUtil.c
+++ b/generic/tclUtil.c
@@ -14,7 +14,6 @@
#include "tclInt.h"
#include "tclParse.h"
-#include "tclStringTrim.h"
#include <math.h>
/*
@@ -1768,6 +1767,13 @@ TclTrimLeft(
*----------------------------------------------------------------------
*/
+/*
+ * The whitespace trimming set used when [concat]enating. This is a subset of
+ * tclDefaultTrimSet, and deliberately so.
+ */
+
+#define CONCAT_TRIM_SET " \f\v\r\t\n"
+
/* The whitespace characters trimmed during [concat] operations */
#define CONCAT_WS_SIZE (int) (sizeof(CONCAT_TRIM_SET "") - 1)