You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2013/04/28 01:17:43 UTC

[1/2] git commit: Make Store::n_disks unsigned

Updated Branches:
  refs/heads/master a58b8ec57 -> 8e60b9d6b


Make Store::n_disks unsigned


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

Branch: refs/heads/master
Commit: 0dc121c1fec369691c7fcafa807ea8b50b2f766e
Parents: a58b8ec
Author: James Peach <jp...@apache.org>
Authored: Sat Apr 27 16:09:44 2013 -0700
Committer: James Peach <jp...@apache.org>
Committed: Sat Apr 27 16:09:44 2013 -0700

----------------------------------------------------------------------
 iocore/cache/Cache.cc  |    3 +--
 iocore/cache/I_Store.h |    2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/0dc121c1/iocore/cache/Cache.cc
----------------------------------------------------------------------
diff --git a/iocore/cache/Cache.cc b/iocore/cache/Cache.cc
index bc273d3..580d49b 100644
--- a/iocore/cache/Cache.cc
+++ b/iocore/cache/Cache.cc
@@ -597,7 +597,6 @@ CacheProcessor::start_internal(int flags)
   start_internal_flags = flags;
   clear = !!(flags & PROCESSOR_RECONFIGURE) || auto_clear_flag;
   fix = !!(flags & PROCESSOR_FIX);
-  int i;
   start_done = 0;
   int diskok = 1;
 
@@ -610,7 +609,7 @@ CacheProcessor::start_internal(int flags)
   ink_aio_set_callback(new AIO_Callback_handler());
   Span *sd;
   config_volumes.read_config_file();
-  for (i = 0; i < theCacheStore.n_disks; i++) {
+  for (unsigned i = 0; i < theCacheStore.n_disks; i++) {
     sd = theCacheStore.disk[i];
     char path[PATH_NAME_MAX];
     int opts = DEFAULT_CACHE_OPTIONS;

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/0dc121c1/iocore/cache/I_Store.h
----------------------------------------------------------------------
diff --git a/iocore/cache/I_Store.h b/iocore/cache/I_Store.h
index 55ea839..32b24c4 100644
--- a/iocore/cache/I_Store.h
+++ b/iocore/cache/I_Store.h
@@ -162,7 +162,7 @@ struct Store
   Store();
   ~Store();
 
-  int n_disks;
+  unsigned n_disks;
   Span **disk;
 
   //


[2/2] git commit: RedHat-derived systems need gcc-c++

Posted by jp...@apache.org.
RedHat-derived systems need gcc-c++


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

Branch: refs/heads/master
Commit: 8e60b9d6bec5fef4645a37704f4da09d558dafbb
Parents: 0dc121c
Author: James Peach <jp...@apache.org>
Authored: Sat Apr 27 16:10:33 2013 -0700
Committer: James Peach <jp...@apache.org>
Committed: Sat Apr 27 16:10:33 2013 -0700

----------------------------------------------------------------------
 contrib/manifests/redhat.pp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/8e60b9d6/contrib/manifests/redhat.pp
----------------------------------------------------------------------
diff --git a/contrib/manifests/redhat.pp b/contrib/manifests/redhat.pp
index 6bb1f28..739c38f 100644
--- a/contrib/manifests/redhat.pp
+++ b/contrib/manifests/redhat.pp
@@ -16,7 +16,7 @@
 
 # Base ATS build dependencies.
 package {[
-    'gcc', 'automake', 'autoconf', 'libtool', 'pkgconfig',
+    'gcc', 'gcc-c++', 'automake', 'autoconf', 'libtool', 'pkgconfig',
     'openssl-devel', 'tcl-devel', 'expat-devel', 'pcre-devel',
     'ncurses-devel', 'libcurl-devel', 'libaio-devel',
     'hwloc-devel', 'libcap-devel', 'bison', 'flex', 'make',