trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpe...@apache.org
Subject trafficserver git commit: TS-3548: fix psiginfo usage on Illumos
Date Wed, 22 Apr 2015 21:44:31 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master fedcb82c0 -> cb2ad69c0


TS-3548: fix psiginfo usage on Illumos


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

Branch: refs/heads/master
Commit: cb2ad69c0a3c3d9d5d9cb2a93f7210a3dda396de
Parents: fedcb82
Author: James Peach <jpeach@apache.org>
Authored: Wed Apr 22 14:43:58 2015 -0700
Committer: James Peach <jpeach@apache.org>
Committed: Wed Apr 22 14:44:25 2015 -0700

----------------------------------------------------------------------
 CHANGES           | 2 ++
 lib/ts/signals.cc | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/cb2ad69c/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 8b19edb..e8fe3ab 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,8 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 6.0.0
 
+  *) [TS-3548] Fix psiginfo usage on Illumos.
+
   *) [TS-3529] Add config option to allow ATS to start even if certificate files are bad.
 
   *) [TS-3523]: Proxy urls with no matching remap rules, when remap_required

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/cb2ad69c/lib/ts/signals.cc
----------------------------------------------------------------------
diff --git a/lib/ts/signals.cc b/lib/ts/signals.cc
index ec11af3..0c415fd 100644
--- a/lib/ts/signals.cc
+++ b/lib/ts/signals.cc
@@ -159,7 +159,7 @@ signal_format_siginfo(int signo, siginfo_t *info, const char *msg)
   (void)signo;
 
 #if HAVE_PSIGINFO
-  psiginfo(info, msg);
+  psiginfo(info, const_cast<char *>(msg));
 #elif HAVE_PSIGNAL
   psignal(signo, msg);
 #else


Mime
View raw message