diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-27 21:15:41 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-27 21:15:41 +0000 |
commit | 6a97494def7709561e5874c53e797243c95cb7d5 (patch) | |
tree | 07ea5c0a2b26de19f2db7414b900bc60d91712bd | |
parent | b82a45f2c50c7fa8dfb45e512d0caaec7d654c1e (diff) | |
download | chromium_src-6a97494def7709561e5874c53e797243c95cb7d5.zip chromium_src-6a97494def7709561e5874c53e797243c95cb7d5.tar.gz chromium_src-6a97494def7709561e5874c53e797243c95cb7d5.tar.bz2 |
Fix lineendings on the Hunspell patch file.
Review URL: http://codereview.chromium.org/160198
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21708 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/third_party/hunspell/google.patch | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/chrome/third_party/hunspell/google.patch b/chrome/third_party/hunspell/google.patch index 9c8e984..ae7fd9d 100644 --- a/chrome/third_party/hunspell/google.patch +++ b/chrome/third_party/hunspell/google.patch @@ -1,8 +1,8 @@ -Index: src/hunspell/affixmgr.cxx
-===================================================================
---- src/hunspell/affixmgr.cxx (revision 3811)
-+++ src/hunspell/affixmgr.cxx (working copy)
-@@ -25,7 +27,7 @@
+Index: src/hunspell/affixmgr.cxx +=================================================================== +--- src/hunspell/affixmgr.cxx (revision 3811) ++++ src/hunspell/affixmgr.cxx (working copy) +@@ -25,7 +27,7 @@ #endif #endif @@ -11,7 +11,7 @@ Index: src/hunspell/affixmgr.cxx { // register hash manager and load affix data from aff file pHMgr = ptr; -@@ -104,8 +106,8 @@
+@@ -104,8 +106,8 @@ contclasses[j] = 0; } @@ -22,7 +22,7 @@ Index: src/hunspell/affixmgr.cxx wordchars = mystrdup("qwertzuiopasdfghjklyxcvbnmQWERTZUIOPASDFGHJKLYXCVBNM"); } -@@ -232,7 +234,7 @@
+@@ -232,7 +234,7 @@ // read in aff file and build up prefix and suffix entry objects @@ -31,7 +31,7 @@ Index: src/hunspell/affixmgr.cxx { // io buffers -@@ -250,11 +252,12 @@
+@@ -250,11 +252,12 @@ // open the affix file FILE * afflst; @@ -46,11 +46,11 @@ Index: src/hunspell/affixmgr.cxx // step one is to parse the affix file building up the internal // affix data structures -Index: src/hunspell/affixmgr.hxx
-===================================================================
---- src/hunspell/affixmgr.hxx (revision 3811)
-+++ src/hunspell/affixmgr.hxx (working copy)
-@@ -93,7 +93,7 @@
+Index: src/hunspell/affixmgr.hxx +=================================================================== +--- src/hunspell/affixmgr.hxx (revision 3811) ++++ src/hunspell/affixmgr.hxx (working copy) +@@ -93,7 +93,7 @@ public: @@ -59,7 +59,7 @@ Index: src/hunspell/affixmgr.hxx ~AffixMgr(); struct hentry * affix_check(const char * word, int len, const unsigned short needflag = (unsigned short) 0, char in_compound = IN_CPD_NOT); -@@ -179,7 +179,7 @@
+@@ -179,7 +179,7 @@ int get_checksharps(void); private: @@ -68,11 +68,11 @@ Index: src/hunspell/affixmgr.hxx // int parse_string(char * line, char ** out, const char * name); int parse_flag(char * line, unsigned short * out, const char * name); int parse_num(char * line, int * out, const char * name); -Index: src/hunspell/hashmgr.cxx
-===================================================================
---- src/hunspell/hashmgr.cxx (revision 3811)
-+++ src/hunspell/hashmgr.cxx (working copy)
-@@ -29,7 +31,7 @@
+Index: src/hunspell/hashmgr.cxx +=================================================================== +--- src/hunspell/hashmgr.cxx (revision 3811) ++++ src/hunspell/hashmgr.cxx (working copy) +@@ -29,7 +31,7 @@ // build a hash table from a munched word list @@ -81,7 +81,7 @@ Index: src/hunspell/hashmgr.cxx { tablesize = 0; tableptr = NULL; -@@ -43,8 +45,8 @@
+@@ -43,8 +45,8 @@ aliasf = NULL; numaliasm = 0; aliasm = NULL; @@ -92,7 +92,7 @@ Index: src/hunspell/hashmgr.cxx if (ec) { /* error condition - what should we do here */ HUNSPELL_WARNING(stderr, "Hash Manager Error : %d\n",ec); -@@ -240,7 +242,7 @@
+@@ -240,7 +242,7 @@ } // load a munched word list and build a hash table on the fly @@ -101,7 +101,7 @@ Index: src/hunspell/hashmgr.cxx { int wl, al; char * ap; -@@ -248,8 +250,9 @@
+@@ -248,8 +250,9 @@ unsigned short * flags; // raw dictionary - munched file @@ -112,7 +112,7 @@ Index: src/hunspell/hashmgr.cxx // first read the first line of file to get hash table size */ char ts[MAXDELEN]; -@@ -442,7 +445,7 @@
+@@ -442,7 +445,7 @@ } // read in aff file and set flag mode @@ -121,7 +121,7 @@ Index: src/hunspell/hashmgr.cxx { int firstline = 1; -@@ -451,11 +454,12 @@
+@@ -451,11 +454,12 @@ // open the affix file FILE * afflst; @@ -136,11 +136,11 @@ Index: src/hunspell/hashmgr.cxx // read in each line ignoring any that do not // start with a known line type indicator -Index: src/hunspell/hashmgr.hxx
-===================================================================
---- src/hunspell/hashmgr.hxx (revision 3811)
-+++ src/hunspell/hashmgr.hxx (working copy)
-@@ -25,7 +25,7 @@
+Index: src/hunspell/hashmgr.hxx +=================================================================== +--- src/hunspell/hashmgr.hxx (revision 3811) ++++ src/hunspell/hashmgr.hxx (working copy) +@@ -25,7 +25,7 @@ public: @@ -149,7 +149,7 @@ Index: src/hunspell/hashmgr.hxx ~HashMgr(); struct hentry * lookup(const char *) const; -@@ -46,9 +46,9 @@
+@@ -46,9 +46,9 @@ private: @@ -161,11 +161,11 @@ Index: src/hunspell/hashmgr.hxx int parse_aliasf(char * line, FILE * af); #ifdef HUNSPELL_EXPERIMENTAL int parse_aliasm(char * line, FILE * af); -Index: src/hunspell/hunspell.cxx
-===================================================================
---- src/hunspell/hunspell.cxx (revision 3811)
-+++ src/hunspell/hunspell.cxx (working copy)
-@@ -20,7 +20,7 @@
+Index: src/hunspell/hunspell.cxx +=================================================================== +--- src/hunspell/hunspell.cxx (revision 3811) ++++ src/hunspell/hunspell.cxx (working copy) +@@ -20,7 +20,7 @@ #endif #endif @@ -174,7 +174,7 @@ Index: src/hunspell/hunspell.cxx { encoding = NULL; csconv = NULL; -@@ -28,11 +28,11 @@
+@@ -28,11 +28,11 @@ complexprefixes = 0; /* first set up the hash manager */ @@ -188,7 +188,7 @@ Index: src/hunspell/hunspell.cxx /* get the preferred try string and the dictionary */ /* encoding from the Affix Manager for that dictionary */ -@@ -1694,9 +1694,9 @@
+@@ -1694,9 +1694,9 @@ #endif // END OF HUNSPELL_EXPERIMENTAL CODE @@ -200,11 +200,11 @@ Index: src/hunspell/hunspell.cxx } void Hunspell_destroy(Hunhandle *pHunspell) -Index: src/hunspell/hunspell.hxx
-===================================================================
---- src/hunspell/hunspell.hxx (revision 3811)
-+++ src/hunspell/hunspell.hxx (working copy)
-@@ -48,7 +48,7 @@
+Index: src/hunspell/hunspell.hxx +=================================================================== +--- src/hunspell/hunspell.hxx (revision 3811) ++++ src/hunspell/hunspell.hxx (working copy) +@@ -48,7 +48,7 @@ * input: path of affix file and dictionary file */ |