Commit a57acea5 authored by battre@chromium.org's avatar battre@chromium.org

Remove file without license header and fix file flags of non-executable .py file.


BUG=112155
TBR=mark@chromium.org
NOTRY=TRUE

Review URL: https://chromiumcodereview.appspot.com/10834086

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149183 0039d316-1c4b-4281-b951-d872f2087c98
parent e96142c1
...@@ -20,3 +20,6 @@ Local Modifications (to be applied in this order): ...@@ -20,3 +20,6 @@ Local Modifications (to be applied in this order):
- Fix an implicit conversion from NULL to false - Fix an implicit conversion from NULL to false
(patches/fix-implicit-conversion.patch) (patches/fix-implicit-conversion.patch)
- Support Android (re2-android.patch) - Support Android (re2-android.patch)
- Remove testinstall.cc because it lacks a license header and remove executable
bit from non-executable .py file.
(remove-testinstall.cc-and-fix-filepermissions.patch)
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;
-}
#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;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment