Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: third_party/re2/patches/remove-testinstall.cc-and-fix-filepermissions.patch

Issue 10834086: Remove file without license header and fix file flags of non-executable .py file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/re2/README.chromium ('k') | third_party/re2/re2/unicode.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/re2/patches/remove-testinstall.cc-and-fix-filepermissions.patch
diff --git a/third_party/re2/patches/remove-testinstall.cc-and-fix-filepermissions.patch b/third_party/re2/patches/remove-testinstall.cc-and-fix-filepermissions.patch
new file mode 100644
index 0000000000000000000000000000000000000000..6b9276982510ee39e6c9a02bfaeadb9df7b04218
--- /dev/null
+++ b/third_party/re2/patches/remove-testinstall.cc-and-fix-filepermissions.patch
@@ -0,0 +1,29 @@
+diff --git a/third_party/re2/re2/unicode.py b/third_party/re2/re2/unicode.py
+old mode 100755
+new mode 100644
+diff --git a/third_party/re2/testinstall.cc b/third_party/re2/testinstall.cc
+deleted file mode 100644
+index 40b7a8a..0000000
+--- a/third_party/re2/testinstall.cc
++++ /dev/null
+@@ -1,20 +0,0 @@
+-#include <re2/re2.h>
+-#include <re2/filtered_re2.h>
+-#include <stdio.h>
+-
+-using namespace re2;
+-
+-int main(void) {
+- FilteredRE2 f;
+- int id;
+- f.Add("a.*b.*c", RE2::DefaultOptions, &id);
+- vector<string> v;
+- f.Compile(&v);
+-
+- if(RE2::FullMatch("axbyc", "a.*b.*c")) {
+- printf("PASS\n");
+- return 0;
+- }
+- printf("FAIL\n");
+- return 2;
+-}
« no previous file with comments | « third_party/re2/README.chromium ('k') | third_party/re2/re2/unicode.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698