[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
mjs
mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:50:14 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit d054e3c690fed5422dff982c41092d04d85d6e9c
Author: mjs <mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Aug 5 21:21:58 2003 +0000
Reviewed by John.
* kjs/list.cpp:
(List::copyTail): Test for loop termination with < instead of !=,
since i starts at 1 but size could be 0. Do the same for the other
loop for consistency's sake.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4771 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog
index 9b1fc8e..f39f8d4 100644
--- a/JavaScriptCore/ChangeLog
+++ b/JavaScriptCore/ChangeLog
@@ -1,3 +1,12 @@
+2003-08-05 Maciej Stachowiak <mjs at apple.com>
+
+ Reviewed by John.
+
+ * kjs/list.cpp:
+ (List::copyTail): Test for loop termination with < instead of !=,
+ since i starts at 1 but size could be 0. Do the same for the other
+ loop for consistency's sake.
+
2003-08-01 Maciej Stachowiak <mjs at apple.com>
Reviewed by John.
diff --git a/JavaScriptCore/ChangeLog-2003-10-25 b/JavaScriptCore/ChangeLog-2003-10-25
index 9b1fc8e..f39f8d4 100644
--- a/JavaScriptCore/ChangeLog-2003-10-25
+++ b/JavaScriptCore/ChangeLog-2003-10-25
@@ -1,3 +1,12 @@
+2003-08-05 Maciej Stachowiak <mjs at apple.com>
+
+ Reviewed by John.
+
+ * kjs/list.cpp:
+ (List::copyTail): Test for loop termination with < instead of !=,
+ since i starts at 1 but size could be 0. Do the same for the other
+ loop for consistency's sake.
+
2003-08-01 Maciej Stachowiak <mjs at apple.com>
Reviewed by John.
diff --git a/JavaScriptCore/kjs/list.cpp b/JavaScriptCore/kjs/list.cpp
index 1444807..ebf9510 100644
--- a/JavaScriptCore/kjs/list.cpp
+++ b/JavaScriptCore/kjs/list.cpp
@@ -304,12 +304,12 @@ List List::copyTail() const
int size = imp->size;
int inlineSize = MIN(size, inlineValuesSize);
- for (int i = 1; i != inlineSize; ++i)
+ for (int i = 1; i < inlineSize; ++i)
copy.append(imp->values[i]);
ValueImp **overflow = imp->overflow;
int overflowSize = size - inlineSize;
- for (int i = 0; i != overflowSize; ++i)
+ for (int i = 0; i < overflowSize; ++i)
copy.append(overflow[i]);
return copy;
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list