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

Side by Side Diff: base/third_party/xdg_mime/compile.patch

Issue 10824186: Linux: update base/third_party/xdg_mime from upstream. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
« no previous file with comments | « base/third_party/xdg_mime/README.chromium ('k') | base/third_party/xdg_mime/xdgmime.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 --- a/xdgmimecache.c 1 --- a/xdgmimecache.c
2 +++ b/xdgmimecache.c 2 +++ b/xdgmimecache.c
3 @@ -40,6 +40,8 @@ 3 @@ -40,6 +40,8 @@
4 4
5 #include <netinet/in.h> /* for ntohl/ntohs */ 5 #include <netinet/in.h> /* for ntohl/ntohs */
6 6
7 +#define HAVE_MMAP 1 7 +#define HAVE_MMAP 1
8 + 8 +
9 #ifdef HAVE_MMAP 9 #ifdef HAVE_MMAP
10 #include <sys/mman.h> 10 #include <sys/mman.h>
11 #else 11 #else
12 @@ -1000,5 +1002,3 @@ 12 @@ -1000,5 +1002,3 @@
13 dump_glob_node (cache, offset + 20 * j, 0); 13 dump_glob_node (cache, offset + 20 * j, 0);
14 } 14 }
15 } 15 }
16 - 16 -
17 - 17 -
18 --- a/xdgmimeglob.c
19 +++ b/xdgmimeglob.c
20 @@ -375,7 +375,6 @@
21 int i, n;
22 MimeWeight mimes[10];
23 int n_mimes = 10;
24 - xdg_unichar_t *ucs4;
25 int len;
26
27 /* First, check the literals */
OLDNEW
« no previous file with comments | « base/third_party/xdg_mime/README.chromium ('k') | base/third_party/xdg_mime/xdgmime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698