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 2013/03/26 23:32:31 UTC
git commit: [TS-1780] Fix Debuntu build with hardening flags
Updated Branches:
refs/heads/master ca7a84eeb -> 7b6a4dd10
[TS-1780] Fix Debuntu build with hardening flags
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/7b6a4dd1
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/7b6a4dd1
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/7b6a4dd1
Branch: refs/heads/master
Commit: 7b6a4dd1070bad7b69f6d82e53833dd82b27fea0
Parents: ca7a84e
Author: Igor Galić <i....@brainsware.org>
Authored: Tue Mar 26 23:32:11 2013 +0100
Committer: Igor Galić <i....@brainsware.org>
Committed: Tue Mar 26 23:32:11 2013 +0100
----------------------------------------------------------------------
CHANGES | 2 ++
iocore/eventsystem/UnixEventProcessor.cc | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/7b6a4dd1/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 90b631b..b319e6a 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,8 @@
-*- coding: utf-8 -*-
Changes with Apache Traffic Server 3.3.2
+ *) [TS-1780] Fix Debuntu build with hardening flags
+
*) [TS-1623, TS-1625] Fixes for logging where the host name was not handled
correctly because it was not in the URL.
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/7b6a4dd1/iocore/eventsystem/UnixEventProcessor.cc
----------------------------------------------------------------------
diff --git a/iocore/eventsystem/UnixEventProcessor.cc b/iocore/eventsystem/UnixEventProcessor.cc
index 1efdf0b..663217a 100644
--- a/iocore/eventsystem/UnixEventProcessor.cc
+++ b/iocore/eventsystem/UnixEventProcessor.cc
@@ -201,7 +201,7 @@ EventProcessor::start(int n_event_threads)
set_cpu(&cpuset, cpu);
len += snprintf(debug_message + len, sizeof(debug_message) - len, " %d", cpu);
}
- Debug("iocore_thread", debug_message);
+ Debug("iocore_thread", "%s", debug_message);
if (!bind_cpu(&cpuset, tid)){
Error("%s, failed with errno: %d", debug_message, errno);
}