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

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

Issue 113168: Add xdg mime support on Linux. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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
(Empty)
1 --- a/xdgmimecache.c
2 +++ b/xdgmimecache.c
3 @@ -40,6 +40,8 @@
4
5 #include <netinet/in.h> /* for ntohl/ntohs */
6
7 +#define HAVE_MMAP 1
8 +
9 #ifdef HAVE_MMAP
10 #include <sys/mman.h>
11 #else
12 @@ -1000,5 +1002,3 @@
13 dump_glob_node (cache, offset + 20 * j, 0);
14 }
15 }
16 -
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