You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ig...@apache.org on 2014/02/04 16:01:24 UTC

[1/2] git commit: TS-2469: remove libreadline which is gpl licensed

Updated Branches:
  refs/heads/4.1.x 5cdf04538 -> a9a7ba639


TS-2469: remove libreadline which is gpl licensed

Signed-off-by: Zhao Yongming <mi...@gmail.com>

Conflicts:
	CHANGES


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

Branch: refs/heads/4.1.x
Commit: a40d11961e1533a98db8e6f2284d24ecc5cb6e3b
Parents: 5cdf045
Author: Ben Aitchison <be...@meh.net.nz>
Authored: Mon Jan 6 16:39:48 2014 +0800
Committer: Igor Galić <i....@brainsware.org>
Committed: Tue Feb 4 14:25:40 2014 +0100

----------------------------------------------------------------------
 CHANGES                  | 3 +++
 build/ax_lib_readline.m4 | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a40d1196/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 4a5d0c8..b15e219 100644
--- a/CHANGES
+++ b/CHANGES
@@ -3,6 +3,9 @@ Changes with Apache Traffic Server 4.1.3
 
   *) [TS-2305] Fall back to ftruncate if posix_fallocate fails.
 
+  *) [TS-2469] remove libreadline which is gpl licensed.
+   Author: Ben Aitchison <be...@meh.net.nz>
+
   *) [TS-2712] Explicitly use subdir-objects in automake init.
 
   *) [TS-2497] Failed post results in tunnel buffers being returned to

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a40d1196/build/ax_lib_readline.m4
----------------------------------------------------------------------
diff --git a/build/ax_lib_readline.m4 b/build/ax_lib_readline.m4
index 37a02a4..1af80b2 100644
--- a/build/ax_lib_readline.m4
+++ b/build/ax_lib_readline.m4
@@ -65,7 +65,7 @@ AC_DEFUN([AX_LIB_READLINE], [
   AC_CACHE_CHECK([for a readline compatible library],
                  ax_cv_lib_readline, [
     ORIG_LIBS="$LIBS"
-    for readline_lib in readline edit editline; do
+    for readline_lib in edit editline; do
       for termcap_lib in "" termcap curses ncurses; do
         if test -z "$termcap_lib"; then
           TRY_LIB="-l$readline_lib"


[2/2] git commit: TS-2467: traffic_shell doesn't work with tcl 8.6, works with 8.5

Posted by ig...@apache.org.
TS-2467: traffic_shell doesn't work with tcl 8.6, works with 8.5

Segfault in libtcl8.6.so when calling Tcl_SetMainLoop(Tcl_ReadlineMain).
If setting Tcl MainLoop, we should call Tcl_FindExecutable(NULL),
which fixes TCL 8.6 and should also work with older versions.

Conflicts:
	CHANGES


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

Branch: refs/heads/4.1.x
Commit: a9a7ba63982401cc303d8a4e4b3ffc1e49239f1a
Parents: a40d119
Author: Ben Aitchison <be...@meh.net.nz>
Authored: Thu Jan 2 15:37:40 2014 -0800
Committer: Igor Galić <i....@brainsware.org>
Committed: Tue Feb 4 14:27:14 2014 +0100

----------------------------------------------------------------------
 CHANGES             | 3 +++
 mgmt/cli/cliMain.cc | 2 ++
 2 files changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a9a7ba63/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index b15e219..6b85437 100644
--- a/CHANGES
+++ b/CHANGES
@@ -3,6 +3,9 @@ Changes with Apache Traffic Server 4.1.3
 
   *) [TS-2305] Fall back to ftruncate if posix_fallocate fails.
 
+  *) [TS-2467] traffic_shell doesn't work with tcl 8.6.
+   Author: Ben Aitchison <be...@meh.net.nz>
+
   *) [TS-2469] remove libreadline which is gpl licensed.
    Author: Ben Aitchison <be...@meh.net.nz>
 

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a9a7ba63/mgmt/cli/cliMain.cc
----------------------------------------------------------------------
diff --git a/mgmt/cli/cliMain.cc b/mgmt/cli/cliMain.cc
index 8da720a..29978c7 100644
--- a/mgmt/cli/cliMain.cc
+++ b/mgmt/cli/cliMain.cc
@@ -73,6 +73,8 @@ main(int argc, char *argv[])
     exit(0);
   }
 
+  Tcl_FindExecutable(argv[0]);
+
   // traffic_shell binary should use printf to display information onscreen
   CliDisplayPrintf = 1;