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

[1/2] git commit: TS-1752 Change the "len" to an off_t, since that's what lseek returns.

Updated Branches:
  refs/heads/master f4018df64 -> 883460678


TS-1752 Change the "len" to an off_t, since that's what lseek returns.


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

Branch: refs/heads/master
Commit: 5074fda057965e2dcc7a84f23bf7c778e7d8d383
Parents: f4018df
Author: Leif Hedstrom <zw...@apache.org>
Authored: Wed Apr 17 14:34:29 2013 -0600
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Wed Apr 17 14:34:29 2013 -0600

----------------------------------------------------------------------
 tools/jtest/jtest.cc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/5074fda0/tools/jtest/jtest.cc
----------------------------------------------------------------------
diff --git a/tools/jtest/jtest.cc b/tools/jtest/jtest.cc
index 1361ae3..91edf52 100644
--- a/tools/jtest/jtest.cc
+++ b/tools/jtest/jtest.cc
@@ -3771,7 +3771,7 @@ UrlHashTable * uniq_urls = NULL;
 
 
 UrlHashTable::UrlHashTable() {
-  unsigned long len = 0;
+  off_t len = 0;
 
   if (!url_hash_entries)
     return;
@@ -3797,7 +3797,7 @@ UrlHashTable::UrlHashTable() {
     // size as the size
     if (!len) 
       panic("zero size URL Hash Table\n");
-    if (len != (unsigned long)URL_HASH_BYTES) {
+    if (len != URL_HASH_BYTES) {
       fprintf(stderr, 
               "FATAL: hash file length (%lu) != URL_HASH_BYTES (%lu)\n",
               len, (unsigned long)URL_HASH_BYTES);


[2/2] git commit: Added TS-1752.

Posted by zw...@apache.org.
Added TS-1752.


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

Branch: refs/heads/master
Commit: 883460678fb7b856a173d46dd34599b71f7a1a0f
Parents: 5074fda
Author: Leif Hedstrom <zw...@apache.org>
Authored: Wed Apr 17 14:35:20 2013 -0600
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Wed Apr 17 14:35:20 2013 -0600

----------------------------------------------------------------------
 CHANGES |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/88346067/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 6fea248..8c44c79 100644
--- a/CHANGES
+++ b/CHANGES
@@ -2,7 +2,11 @@
   Changes with Apache Traffic Server 3.3.3
 
 
-  *) [TS-1826] Remove DumpStats/http_dump dead code
+  *) [TS-1752] Change type of "len" in jtest to off_t, for better
+  compiler compliance.
+
+  *) [TS-1826] Remove DumpStats/http_dump dead code.
+
 
 
   Changes with Apache Traffic Server 3.3.2