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

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

Issue 12033058: Updated to most recent version RE2 and remove upstreamed patches. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 diff --git a/third_party/re2/re2/unicode.py b/third_party/re2/re2/unicode.py
2 old mode 100755
3 new mode 100644
4 diff --git a/third_party/re2/testinstall.cc b/third_party/re2/testinstall.cc
5 deleted file mode 100644
6 index 40b7a8a..0000000
7 --- a/third_party/re2/testinstall.cc
8 +++ /dev/null
9 @@ -1,20 +0,0 @@
10 -#include <re2/re2.h>
11 -#include <re2/filtered_re2.h>
12 -#include <stdio.h>
13 -
14 -using namespace re2;
15 -
16 -int main(void) {
17 - FilteredRE2 f;
18 - int id;
19 - f.Add("a.*b.*c", RE2::DefaultOptions, &id);
20 - vector<string> v;
21 - f.Compile(&v);
22 -
23 - if(RE2::FullMatch("axbyc", "a.*b.*c")) {
24 - printf("PASS\n");
25 - return 0;
26 - }
27 - printf("FAIL\n");
28 - return 2;
29 -}
OLDNEW
« no previous file with comments | « third_party/re2/patches/remove-static-initializers.patch ('k') | third_party/re2/patches/remove-valgrind-code.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698