libiconv: upgrade to version 1.15

This commit is contained in:
Uwe Stöhr 2017-09-12 23:15:43 +02:00
parent 776f1db186
commit c88e9e57ef
270 changed files with 11353 additions and 9660 deletions

View File

@ -1,110 +0,0 @@
(int)(long)&((struct stringpool_t *)0)->stringpool_str287,
(int)(long)&((struct stringpool_t *)0)->stringpool_str255,
(int)(long)&((struct stringpool_t *)0)->stringpool_str179,
(int)(long)&((struct stringpool_t *)0)->stringpool_str367,
(int)(long)&((struct stringpool_t *)0)->stringpool_str283,
(int)(long)&((struct stringpool_t *)0)->stringpool_str263,
(int)(long)&((struct stringpool_t *)0)->stringpool_str409,
(int)(long)&((struct stringpool_t *)0)->stringpool_str325,
(int)(long)&((struct stringpool_t *)0)->stringpool_str242,
(int)(long)&((struct stringpool_t *)0)->stringpool_str434,
(int)(long)&((struct stringpool_t *)0)->stringpool_str350,
(int)(long)&((struct stringpool_t *)0)->stringpool_str252,
(int)(long)&((struct stringpool_t *)0)->stringpool_str440,
(int)(long)&((struct stringpool_t *)0)->stringpool_str356,
(int)(long)&((struct stringpool_t *)0)->stringpool_str575,
(int)(long)&((struct stringpool_t *)0)->stringpool_str406,
(int)(long)&((struct stringpool_t *)0)->stringpool_str723,
(int)(long)&((struct stringpool_t *)0)->stringpool_str448,
(int)(long)&((struct stringpool_t *)0)->stringpool_str765,
(int)(long)&((struct stringpool_t *)0)->stringpool_str30,
(int)(long)&((struct stringpool_t *)0)->stringpool_str600,
(int)(long)&((struct stringpool_t *)0)->stringpool_str74,
(int)(long)&((struct stringpool_t *)0)->stringpool_str84,
(int)(long)&((struct stringpool_t *)0)->stringpool_str78,
(int)(long)&((struct stringpool_t *)0)->stringpool_str168,
(int)(long)&((struct stringpool_t *)0)->stringpool_str82,
(int)(long)&((struct stringpool_t *)0)->stringpool_str76,
(int)(long)&((struct stringpool_t *)0)->stringpool_str410,
(int)(long)&((struct stringpool_t *)0)->stringpool_str90,
(int)(long)&((struct stringpool_t *)0)->stringpool_str98,
(int)(long)&((struct stringpool_t *)0)->stringpool_str221,
(int)(long)&((struct stringpool_t *)0)->stringpool_str75,
(int)(long)&((struct stringpool_t *)0)->stringpool_str79,
(int)(long)&((struct stringpool_t *)0)->stringpool_str169,
(int)(long)&((struct stringpool_t *)0)->stringpool_str83,
(int)(long)&((struct stringpool_t *)0)->stringpool_str77,
(int)(long)&((struct stringpool_t *)0)->stringpool_str261,
(int)(long)&((struct stringpool_t *)0)->stringpool_str403,
(int)(long)&((struct stringpool_t *)0)->stringpool_str480,
(int)(long)&((struct stringpool_t *)0)->stringpool_str164,
(int)(long)&((struct stringpool_t *)0)->stringpool_str18,
(int)(long)&((struct stringpool_t *)0)->stringpool_str28,
(int)(long)&((struct stringpool_t *)0)->stringpool_str22,
(int)(long)&((struct stringpool_t *)0)->stringpool_str112,
(int)(long)&((struct stringpool_t *)0)->stringpool_str26,
(int)(long)&((struct stringpool_t *)0)->stringpool_str20,
(int)(long)&((struct stringpool_t *)0)->stringpool_str354,
(int)(long)&((struct stringpool_t *)0)->stringpool_str34,
(int)(long)&((struct stringpool_t *)0)->stringpool_str166,
(int)(long)&((struct stringpool_t *)0)->stringpool_str27,
(int)(long)&((struct stringpool_t *)0)->stringpool_str19,
(int)(long)&((struct stringpool_t *)0)->stringpool_str11,
(int)(long)&((struct stringpool_t *)0)->stringpool_str451,
(int)(long)&((struct stringpool_t *)0)->stringpool_str531,
(int)(long)&((struct stringpool_t *)0)->stringpool_str355,
(int)(long)&((struct stringpool_t *)0)->stringpool_str501,
(int)(long)&((struct stringpool_t *)0)->stringpool_str673,
(int)(long)&((struct stringpool_t *)0)->stringpool_str302,
(int)(long)&((struct stringpool_t *)0)->stringpool_str621,
(int)(long)&((struct stringpool_t *)0)->stringpool_str577,
(int)(long)&((struct stringpool_t *)0)->stringpool_str786,
(int)(long)&((struct stringpool_t *)0)->stringpool_str908,
(int)(long)&((struct stringpool_t *)0)->stringpool_str563,
(int)(long)&((struct stringpool_t *)0)->stringpool_str445,
(int)(long)&((struct stringpool_t *)0)->stringpool_str502,
(int)(long)&((struct stringpool_t *)0)->stringpool_str475,
(int)(long)&((struct stringpool_t *)0)->stringpool_str279,
(int)(long)&((struct stringpool_t *)0)->stringpool_str626,
(int)(long)&((struct stringpool_t *)0)->stringpool_str614,
(int)(long)&((struct stringpool_t *)0)->stringpool_str217,
(int)(long)&((struct stringpool_t *)0)->stringpool_str212,
(int)(long)&((struct stringpool_t *)0)->stringpool_str218,
(int)(long)&((struct stringpool_t *)0)->stringpool_str371,
(int)(long)&((struct stringpool_t *)0)->stringpool_str15,
(int)(long)&((struct stringpool_t *)0)->stringpool_str230,
(int)(long)&((struct stringpool_t *)0)->stringpool_str278,
(int)(long)&((struct stringpool_t *)0)->stringpool_str124,
(int)(long)&((struct stringpool_t *)0)->stringpool_str180,
(int)(long)&((struct stringpool_t *)0)->stringpool_str413,
(int)(long)&((struct stringpool_t *)0)->stringpool_str555,
(int)(long)&((struct stringpool_t *)0)->stringpool_str571,
(int)(long)&((struct stringpool_t *)0)->stringpool_str492,
(int)(long)&((struct stringpool_t *)0)->stringpool_str384,
(int)(long)&((struct stringpool_t *)0)->stringpool_str368,
(int)(long)&((struct stringpool_t *)0)->stringpool_str127,
(int)(long)&((struct stringpool_t *)0)->stringpool_str202,
(int)(long)&((struct stringpool_t *)0)->stringpool_str535,
(int)(long)&((struct stringpool_t *)0)->stringpool_str429,
(int)(long)&((struct stringpool_t *)0)->stringpool_str32,
(int)(long)&((struct stringpool_t *)0)->stringpool_str607,
(int)(long)&((struct stringpool_t *)0)->stringpool_str500,
(int)(long)&((struct stringpool_t *)0)->stringpool_str505,
(int)(long)&((struct stringpool_t *)0)->stringpool_str70,
(int)(long)&((struct stringpool_t *)0)->stringpool_str303,
(int)(long)&((struct stringpool_t *)0)->stringpool_str24,
(int)(long)&((struct stringpool_t *)0)->stringpool_str378,
(int)(long)&((struct stringpool_t *)0)->stringpool_str142,
(int)(long)&((struct stringpool_t *)0)->stringpool_str196,
(int)(long)&((struct stringpool_t *)0)->stringpool_str159,
(int)(long)&((struct stringpool_t *)0)->stringpool_str473,
(int)(long)&((struct stringpool_t *)0)->stringpool_str277,
(int)(long)&((struct stringpool_t *)0)->stringpool_str170,
(int)(long)&((struct stringpool_t *)0)->stringpool_str900,
(int)(long)&((struct stringpool_t *)0)->stringpool_str888,
(int)(long)&((struct stringpool_t *)0)->stringpool_str935,
(int)(long)&((struct stringpool_t *)0)->stringpool_str527,
(int)(long)&((struct stringpool_t *)0)->stringpool_str290,
(int)(long)&((struct stringpool_t *)0)->stringpool_str91,
(int)(long)&((struct stringpool_t *)0)->stringpool_str768,
(int)(long)&((struct stringpool_t *)0)->stringpool_str362,

View File

@ -1,2 +0,0 @@
(int)(long)&((struct stringpool_t *)0)->stringpool_str271,
(int)(long)&((struct stringpool_t *)0)->stringpool_str664,

View File

@ -1,2 +0,0 @@
(int)(long)&((struct stringpool_t *)0)->stringpool_str307,
(int)(long)&((struct stringpool_t *)0)->stringpool_str543,

View File

@ -1,2 +0,0 @@
(int)(long)&((struct stringpool_t *)0)->stringpool_str258,
(int)(long)&((struct stringpool_t *)0)->stringpool_str390,

View File

@ -1,2 +0,0 @@
(int)(long)&((struct stringpool_t *)0)->stringpool_str275,
(int)(long)&((struct stringpool_t *)0)->stringpool_str465,

View File

@ -1,2 +0,0 @@
(int)(long)&((struct stringpool_t *)0)->stringpool_str38,
(int)(long)&((struct stringpool_t *)0)->stringpool_str515,

View File

@ -1,110 +0,0 @@
(int)(long)&((struct stringpool_t *)0)->stringpool_str383,
(int)(long)&((struct stringpool_t *)0)->stringpool_str363,
(int)(long)&((struct stringpool_t *)0)->stringpool_str231,
(int)(long)&((struct stringpool_t *)0)->stringpool_str604,
(int)(long)&((struct stringpool_t *)0)->stringpool_str483,
(int)(long)&((struct stringpool_t *)0)->stringpool_str327,
(int)(long)&((struct stringpool_t *)0)->stringpool_str652,
(int)(long)&((struct stringpool_t *)0)->stringpool_str531,
(int)(long)&((struct stringpool_t *)0)->stringpool_str358,
(int)(long)&((struct stringpool_t *)0)->stringpool_str733,
(int)(long)&((struct stringpool_t *)0)->stringpool_str612,
(int)(long)&((struct stringpool_t *)0)->stringpool_str364,
(int)(long)&((struct stringpool_t *)0)->stringpool_str737,
(int)(long)&((struct stringpool_t *)0)->stringpool_str616,
(int)(long)&((struct stringpool_t *)0)->stringpool_str685,
(int)(long)&((struct stringpool_t *)0)->stringpool_str501,
(int)(long)&((struct stringpool_t *)0)->stringpool_str654,
(int)(long)&((struct stringpool_t *)0)->stringpool_str549,
(int)(long)&((struct stringpool_t *)0)->stringpool_str702,
(int)(long)&((struct stringpool_t *)0)->stringpool_str53,
(int)(long)&((struct stringpool_t *)0)->stringpool_str891,
(int)(long)&((struct stringpool_t *)0)->stringpool_str103,
(int)(long)&((struct stringpool_t *)0)->stringpool_str109,
(int)(long)&((struct stringpool_t *)0)->stringpool_str107,
(int)(long)&((struct stringpool_t *)0)->stringpool_str205,
(int)(long)&((struct stringpool_t *)0)->stringpool_str111,
(int)(long)&((struct stringpool_t *)0)->stringpool_str105,
(int)(long)&((struct stringpool_t *)0)->stringpool_str437,
(int)(long)&((struct stringpool_t *)0)->stringpool_str115,
(int)(long)&((struct stringpool_t *)0)->stringpool_str141,
(int)(long)&((struct stringpool_t *)0)->stringpool_str246,
(int)(long)&((struct stringpool_t *)0)->stringpool_str108,
(int)(long)&((struct stringpool_t *)0)->stringpool_str112,
(int)(long)&((struct stringpool_t *)0)->stringpool_str210,
(int)(long)&((struct stringpool_t *)0)->stringpool_str116,
(int)(long)&((struct stringpool_t *)0)->stringpool_str110,
(int)(long)&((struct stringpool_t *)0)->stringpool_str254,
(int)(long)&((struct stringpool_t *)0)->stringpool_str492,
(int)(long)&((struct stringpool_t *)0)->stringpool_str569,
(int)(long)&((struct stringpool_t *)0)->stringpool_str175,
(int)(long)&((struct stringpool_t *)0)->stringpool_str37,
(int)(long)&((struct stringpool_t *)0)->stringpool_str43,
(int)(long)&((struct stringpool_t *)0)->stringpool_str41,
(int)(long)&((struct stringpool_t *)0)->stringpool_str139,
(int)(long)&((struct stringpool_t *)0)->stringpool_str45,
(int)(long)&((struct stringpool_t *)0)->stringpool_str39,
(int)(long)&((struct stringpool_t *)0)->stringpool_str371,
(int)(long)&((struct stringpool_t *)0)->stringpool_str49,
(int)(long)&((struct stringpool_t *)0)->stringpool_str173,
(int)(long)&((struct stringpool_t *)0)->stringpool_str38,
(int)(long)&((struct stringpool_t *)0)->stringpool_str34,
(int)(long)&((struct stringpool_t *)0)->stringpool_str32,
(int)(long)&((struct stringpool_t *)0)->stringpool_str525,
(int)(long)&((struct stringpool_t *)0)->stringpool_str797,
(int)(long)&((struct stringpool_t *)0)->stringpool_str462,
(int)(long)&((struct stringpool_t *)0)->stringpool_str583,
(int)(long)&((struct stringpool_t *)0)->stringpool_str807,
(int)(long)&((struct stringpool_t *)0)->stringpool_str272,
(int)(long)&((struct stringpool_t *)0)->stringpool_str898,
(int)(long)&((struct stringpool_t *)0)->stringpool_str606,
(int)(long)&((struct stringpool_t *)0)->stringpool_str662,
(int)(long)&((struct stringpool_t *)0)->stringpool_str989,
(int)(long)&((struct stringpool_t *)0)->stringpool_str648,
(int)(long)&((struct stringpool_t *)0)->stringpool_str391,
(int)(long)&((struct stringpool_t *)0)->stringpool_str487,
(int)(long)&((struct stringpool_t *)0)->stringpool_str413,
(int)(long)&((struct stringpool_t *)0)->stringpool_str330,
(int)(long)&((struct stringpool_t *)0)->stringpool_str461,
(int)(long)&((struct stringpool_t *)0)->stringpool_str335,
(int)(long)&((struct stringpool_t *)0)->stringpool_str152,
(int)(long)&((struct stringpool_t *)0)->stringpool_str171,
(int)(long)&((struct stringpool_t *)0)->stringpool_str234,
(int)(long)&((struct stringpool_t *)0)->stringpool_str445,
(int)(long)&((struct stringpool_t *)0)->stringpool_str36,
(int)(long)&((struct stringpool_t *)0)->stringpool_str207,
(int)(long)&((struct stringpool_t *)0)->stringpool_str300,
(int)(long)&((struct stringpool_t *)0)->stringpool_str217,
(int)(long)&((struct stringpool_t *)0)->stringpool_str256,
(int)(long)&((struct stringpool_t *)0)->stringpool_str567,
(int)(long)&((struct stringpool_t *)0)->stringpool_str723,
(int)(long)&((struct stringpool_t *)0)->stringpool_str735,
(int)(long)&((struct stringpool_t *)0)->stringpool_str660,
(int)(long)&((struct stringpool_t *)0)->stringpool_str258,
(int)(long)&((struct stringpool_t *)0)->stringpool_str235,
(int)(long)&((struct stringpool_t *)0)->stringpool_str149,
(int)(long)&((struct stringpool_t *)0)->stringpool_str202,
(int)(long)&((struct stringpool_t *)0)->stringpool_str638,
(int)(long)&((struct stringpool_t *)0)->stringpool_str613,
(int)(long)&((struct stringpool_t *)0)->stringpool_str52,
(int)(long)&((struct stringpool_t *)0)->stringpool_str629,
(int)(long)&((struct stringpool_t *)0)->stringpool_str591,
(int)(long)&((struct stringpool_t *)0)->stringpool_str594,
(int)(long)&((struct stringpool_t *)0)->stringpool_str188,
(int)(long)&((struct stringpool_t *)0)->stringpool_str146,
(int)(long)&((struct stringpool_t *)0)->stringpool_str48,
(int)(long)&((struct stringpool_t *)0)->stringpool_str251,
(int)(long)&((struct stringpool_t *)0)->stringpool_str179,
(int)(long)&((struct stringpool_t *)0)->stringpool_str190,
(int)(long)&((struct stringpool_t *)0)->stringpool_str92,
(int)(long)&((struct stringpool_t *)0)->stringpool_str495,
(int)(long)&((struct stringpool_t *)0)->stringpool_str153,
(int)(long)&((struct stringpool_t *)0)->stringpool_str186,
(int)(long)&((struct stringpool_t *)0)->stringpool_str603,
(int)(long)&((struct stringpool_t *)0)->stringpool_str584,
(int)(long)&((struct stringpool_t *)0)->stringpool_str635,
(int)(long)&((struct stringpool_t *)0)->stringpool_str324,
(int)(long)&((struct stringpool_t *)0)->stringpool_str369,
(int)(long)&((struct stringpool_t *)0)->stringpool_str133,
(int)(long)&((struct stringpool_t *)0)->stringpool_str885,
(int)(long)&((struct stringpool_t *)0)->stringpool_str360,

View File

@ -1,110 +0,0 @@
(int)(long)&((struct stringpool_t *)0)->stringpool_str310,
(int)(long)&((struct stringpool_t *)0)->stringpool_str368,
(int)(long)&((struct stringpool_t *)0)->stringpool_str293,
(int)(long)&((struct stringpool_t *)0)->stringpool_str464,
(int)(long)&((struct stringpool_t *)0)->stringpool_str525,
(int)(long)&((struct stringpool_t *)0)->stringpool_str395,
(int)(long)&((struct stringpool_t *)0)->stringpool_str515,
(int)(long)&((struct stringpool_t *)0)->stringpool_str576,
(int)(long)&((struct stringpool_t *)0)->stringpool_str355,
(int)(long)&((struct stringpool_t *)0)->stringpool_str521,
(int)(long)&((struct stringpool_t *)0)->stringpool_str582,
(int)(long)&((struct stringpool_t *)0)->stringpool_str363,
(int)(long)&((struct stringpool_t *)0)->stringpool_str534,
(int)(long)&((struct stringpool_t *)0)->stringpool_str595,
(int)(long)&((struct stringpool_t *)0)->stringpool_str440,
(int)(long)&((struct stringpool_t *)0)->stringpool_str665,
(int)(long)&((struct stringpool_t *)0)->stringpool_str644,
(int)(long)&((struct stringpool_t *)0)->stringpool_str716,
(int)(long)&((struct stringpool_t *)0)->stringpool_str695,
(int)(long)&((struct stringpool_t *)0)->stringpool_str36,
(int)(long)&((struct stringpool_t *)0)->stringpool_str596,
(int)(long)&((struct stringpool_t *)0)->stringpool_str64,
(int)(long)&((struct stringpool_t *)0)->stringpool_str60,
(int)(long)&((struct stringpool_t *)0)->stringpool_str100,
(int)(long)&((struct stringpool_t *)0)->stringpool_str162,
(int)(long)&((struct stringpool_t *)0)->stringpool_str76,
(int)(long)&((struct stringpool_t *)0)->stringpool_str70,
(int)(long)&((struct stringpool_t *)0)->stringpool_str158,
(int)(long)&((struct stringpool_t *)0)->stringpool_str86,
(int)(long)&((struct stringpool_t *)0)->stringpool_str92,
(int)(long)&((struct stringpool_t *)0)->stringpool_str177,
(int)(long)&((struct stringpool_t *)0)->stringpool_str67,
(int)(long)&((struct stringpool_t *)0)->stringpool_str103,
(int)(long)&((struct stringpool_t *)0)->stringpool_str165,
(int)(long)&((struct stringpool_t *)0)->stringpool_str79,
(int)(long)&((struct stringpool_t *)0)->stringpool_str73,
(int)(long)&((struct stringpool_t *)0)->stringpool_str345,
(int)(long)&((struct stringpool_t *)0)->stringpool_str669,
(int)(long)&((struct stringpool_t *)0)->stringpool_str790,
(int)(long)&((struct stringpool_t *)0)->stringpool_str131,
(int)(long)&((struct stringpool_t *)0)->stringpool_str21,
(int)(long)&((struct stringpool_t *)0)->stringpool_str17,
(int)(long)&((struct stringpool_t *)0)->stringpool_str57,
(int)(long)&((struct stringpool_t *)0)->stringpool_str119,
(int)(long)&((struct stringpool_t *)0)->stringpool_str33,
(int)(long)&((struct stringpool_t *)0)->stringpool_str27,
(int)(long)&((struct stringpool_t *)0)->stringpool_str115,
(int)(long)&((struct stringpool_t *)0)->stringpool_str43,
(int)(long)&((struct stringpool_t *)0)->stringpool_str141,
(int)(long)&((struct stringpool_t *)0)->stringpool_str24,
(int)(long)&((struct stringpool_t *)0)->stringpool_str34,
(int)(long)&((struct stringpool_t *)0)->stringpool_str35,
(int)(long)&((struct stringpool_t *)0)->stringpool_str448,
(int)(long)&((struct stringpool_t *)0)->stringpool_str561,
(int)(long)&((struct stringpool_t *)0)->stringpool_str410,
(int)(long)&((struct stringpool_t *)0)->stringpool_str335,
(int)(long)&((struct stringpool_t *)0)->stringpool_str470,
(int)(long)&((struct stringpool_t *)0)->stringpool_str704,
(int)(long)&((struct stringpool_t *)0)->stringpool_str685,
(int)(long)&((struct stringpool_t *)0)->stringpool_str607,
(int)(long)&((struct stringpool_t *)0)->stringpool_str689,
(int)(long)&((struct stringpool_t *)0)->stringpool_str800,
(int)(long)&((struct stringpool_t *)0)->stringpool_str454,
(int)(long)&((struct stringpool_t *)0)->stringpool_str195,
(int)(long)&((struct stringpool_t *)0)->stringpool_str331,
(int)(long)&((struct stringpool_t *)0)->stringpool_str484,
(int)(long)&((struct stringpool_t *)0)->stringpool_str202,
(int)(long)&((struct stringpool_t *)0)->stringpool_str449,
(int)(long)&((struct stringpool_t *)0)->stringpool_str513,
(int)(long)&((struct stringpool_t *)0)->stringpool_str139,
(int)(long)&((struct stringpool_t *)0)->stringpool_str190,
(int)(long)&((struct stringpool_t *)0)->stringpool_str262,
(int)(long)&((struct stringpool_t *)0)->stringpool_str603,
(int)(long)&((struct stringpool_t *)0)->stringpool_str71,
(int)(long)&((struct stringpool_t *)0)->stringpool_str149,
(int)(long)&((struct stringpool_t *)0)->stringpool_str170,
(int)(long)&((struct stringpool_t *)0)->stringpool_str251,
(int)(long)&((struct stringpool_t *)0)->stringpool_str271,
(int)(long)&((struct stringpool_t *)0)->stringpool_str450,
(int)(long)&((struct stringpool_t *)0)->stringpool_str769,
(int)(long)&((struct stringpool_t *)0)->stringpool_str791,
(int)(long)&((struct stringpool_t *)0)->stringpool_str710,
(int)(long)&((struct stringpool_t *)0)->stringpool_str354,
(int)(long)&((struct stringpool_t *)0)->stringpool_str332,
(int)(long)&((struct stringpool_t *)0)->stringpool_str153,
(int)(long)&((struct stringpool_t *)0)->stringpool_str203,
(int)(long)&((struct stringpool_t *)0)->stringpool_str491,
(int)(long)&((struct stringpool_t *)0)->stringpool_str461,
(int)(long)&((struct stringpool_t *)0)->stringpool_str42,
(int)(long)&((struct stringpool_t *)0)->stringpool_str542,
(int)(long)&((struct stringpool_t *)0)->stringpool_str473,
(int)(long)&((struct stringpool_t *)0)->stringpool_str471,
(int)(long)&((struct stringpool_t *)0)->stringpool_str30,
(int)(long)&((struct stringpool_t *)0)->stringpool_str314,
(int)(long)&((struct stringpool_t *)0)->stringpool_str52,
(int)(long)&((struct stringpool_t *)0)->stringpool_str352,
(int)(long)&((struct stringpool_t *)0)->stringpool_str81,
(int)(long)&((struct stringpool_t *)0)->stringpool_str96,
(int)(long)&((struct stringpool_t *)0)->stringpool_str12,
(int)(long)&((struct stringpool_t *)0)->stringpool_str378,
(int)(long)&((struct stringpool_t *)0)->stringpool_str308,
(int)(long)&((struct stringpool_t *)0)->stringpool_str144,
(int)(long)&((struct stringpool_t *)0)->stringpool_str771,
(int)(long)&((struct stringpool_t *)0)->stringpool_str757,
(int)(long)&((struct stringpool_t *)0)->stringpool_str806,
(int)(long)&((struct stringpool_t *)0)->stringpool_str421,
(int)(long)&((struct stringpool_t *)0)->stringpool_str343,
(int)(long)&((struct stringpool_t *)0)->stringpool_str105,
(int)(long)&((struct stringpool_t *)0)->stringpool_str654,
(int)(long)&((struct stringpool_t *)0)->stringpool_str394,

View File

@ -1,110 +0,0 @@
(int)(long)&((struct stringpool_t *)0)->stringpool_str343,
(int)(long)&((struct stringpool_t *)0)->stringpool_str294,
(int)(long)&((struct stringpool_t *)0)->stringpool_str223,
(int)(long)&((struct stringpool_t *)0)->stringpool_str591,
(int)(long)&((struct stringpool_t *)0)->stringpool_str433,
(int)(long)&((struct stringpool_t *)0)->stringpool_str319,
(int)(long)&((struct stringpool_t *)0)->stringpool_str639,
(int)(long)&((struct stringpool_t *)0)->stringpool_str481,
(int)(long)&((struct stringpool_t *)0)->stringpool_str289,
(int)(long)&((struct stringpool_t *)0)->stringpool_str659,
(int)(long)&((struct stringpool_t *)0)->stringpool_str501,
(int)(long)&((struct stringpool_t *)0)->stringpool_str295,
(int)(long)&((struct stringpool_t *)0)->stringpool_str663,
(int)(long)&((struct stringpool_t *)0)->stringpool_str505,
(int)(long)&((struct stringpool_t *)0)->stringpool_str586,
(int)(long)&((struct stringpool_t *)0)->stringpool_str472,
(int)(long)&((struct stringpool_t *)0)->stringpool_str695,
(int)(long)&((struct stringpool_t *)0)->stringpool_str520,
(int)(long)&((struct stringpool_t *)0)->stringpool_str743,
(int)(long)&((struct stringpool_t *)0)->stringpool_str53,
(int)(long)&((struct stringpool_t *)0)->stringpool_str711,
(int)(long)&((struct stringpool_t *)0)->stringpool_str103,
(int)(long)&((struct stringpool_t *)0)->stringpool_str109,
(int)(long)&((struct stringpool_t *)0)->stringpool_str107,
(int)(long)&((struct stringpool_t *)0)->stringpool_str205,
(int)(long)&((struct stringpool_t *)0)->stringpool_str111,
(int)(long)&((struct stringpool_t *)0)->stringpool_str105,
(int)(long)&((struct stringpool_t *)0)->stringpool_str407,
(int)(long)&((struct stringpool_t *)0)->stringpool_str115,
(int)(long)&((struct stringpool_t *)0)->stringpool_str141,
(int)(long)&((struct stringpool_t *)0)->stringpool_str246,
(int)(long)&((struct stringpool_t *)0)->stringpool_str108,
(int)(long)&((struct stringpool_t *)0)->stringpool_str112,
(int)(long)&((struct stringpool_t *)0)->stringpool_str210,
(int)(long)&((struct stringpool_t *)0)->stringpool_str116,
(int)(long)&((struct stringpool_t *)0)->stringpool_str110,
(int)(long)&((struct stringpool_t *)0)->stringpool_str280,
(int)(long)&((struct stringpool_t *)0)->stringpool_str410,
(int)(long)&((struct stringpool_t *)0)->stringpool_str487,
(int)(long)&((struct stringpool_t *)0)->stringpool_str175,
(int)(long)&((struct stringpool_t *)0)->stringpool_str37,
(int)(long)&((struct stringpool_t *)0)->stringpool_str43,
(int)(long)&((struct stringpool_t *)0)->stringpool_str41,
(int)(long)&((struct stringpool_t *)0)->stringpool_str139,
(int)(long)&((struct stringpool_t *)0)->stringpool_str45,
(int)(long)&((struct stringpool_t *)0)->stringpool_str39,
(int)(long)&((struct stringpool_t *)0)->stringpool_str341,
(int)(long)&((struct stringpool_t *)0)->stringpool_str49,
(int)(long)&((struct stringpool_t *)0)->stringpool_str173,
(int)(long)&((struct stringpool_t *)0)->stringpool_str38,
(int)(long)&((struct stringpool_t *)0)->stringpool_str34,
(int)(long)&((struct stringpool_t *)0)->stringpool_str32,
(int)(long)&((struct stringpool_t *)0)->stringpool_str543,
(int)(long)&((struct stringpool_t *)0)->stringpool_str727,
(int)(long)&((struct stringpool_t *)0)->stringpool_str428,
(int)(long)&((struct stringpool_t *)0)->stringpool_str544,
(int)(long)&((struct stringpool_t *)0)->stringpool_str761,
(int)(long)&((struct stringpool_t *)0)->stringpool_str281,
(int)(long)&((struct stringpool_t *)0)->stringpool_str821,
(int)(long)&((struct stringpool_t *)0)->stringpool_str649,
(int)(long)&((struct stringpool_t *)0)->stringpool_str661,
(int)(long)&((struct stringpool_t *)0)->stringpool_str939,
(int)(long)&((struct stringpool_t *)0)->stringpool_str646,
(int)(long)&((struct stringpool_t *)0)->stringpool_str362,
(int)(long)&((struct stringpool_t *)0)->stringpool_str458,
(int)(long)&((struct stringpool_t *)0)->stringpool_str500,
(int)(long)&((struct stringpool_t *)0)->stringpool_str369,
(int)(long)&((struct stringpool_t *)0)->stringpool_str397,
(int)(long)&((struct stringpool_t *)0)->stringpool_str442,
(int)(long)&((struct stringpool_t *)0)->stringpool_str178,
(int)(long)&((struct stringpool_t *)0)->stringpool_str202,
(int)(long)&((struct stringpool_t *)0)->stringpool_str234,
(int)(long)&((struct stringpool_t *)0)->stringpool_str417,
(int)(long)&((struct stringpool_t *)0)->stringpool_str36,
(int)(long)&((struct stringpool_t *)0)->stringpool_str253,
(int)(long)&((struct stringpool_t *)0)->stringpool_str285,
(int)(long)&((struct stringpool_t *)0)->stringpool_str245,
(int)(long)&((struct stringpool_t *)0)->stringpool_str238,
(int)(long)&((struct stringpool_t *)0)->stringpool_str515,
(int)(long)&((struct stringpool_t *)0)->stringpool_str671,
(int)(long)&((struct stringpool_t *)0)->stringpool_str683,
(int)(long)&((struct stringpool_t *)0)->stringpool_str608,
(int)(long)&((struct stringpool_t *)0)->stringpool_str266,
(int)(long)&((struct stringpool_t *)0)->stringpool_str243,
(int)(long)&((struct stringpool_t *)0)->stringpool_str149,
(int)(long)&((struct stringpool_t *)0)->stringpool_str228,
(int)(long)&((struct stringpool_t *)0)->stringpool_str581,
(int)(long)&((struct stringpool_t *)0)->stringpool_str638,
(int)(long)&((struct stringpool_t *)0)->stringpool_str52,
(int)(long)&((struct stringpool_t *)0)->stringpool_str593,
(int)(long)&((struct stringpool_t *)0)->stringpool_str524,
(int)(long)&((struct stringpool_t *)0)->stringpool_str527,
(int)(long)&((struct stringpool_t *)0)->stringpool_str167,
(int)(long)&((struct stringpool_t *)0)->stringpool_str206,
(int)(long)&((struct stringpool_t *)0)->stringpool_str48,
(int)(long)&((struct stringpool_t *)0)->stringpool_str259,
(int)(long)&((struct stringpool_t *)0)->stringpool_str179,
(int)(long)&((struct stringpool_t *)0)->stringpool_str190,
(int)(long)&((struct stringpool_t *)0)->stringpool_str60,
(int)(long)&((struct stringpool_t *)0)->stringpool_str426,
(int)(long)&((struct stringpool_t *)0)->stringpool_str198,
(int)(long)&((struct stringpool_t *)0)->stringpool_str186,
(int)(long)&((struct stringpool_t *)0)->stringpool_str784,
(int)(long)&((struct stringpool_t *)0)->stringpool_str765,
(int)(long)&((struct stringpool_t *)0)->stringpool_str816,
(int)(long)&((struct stringpool_t *)0)->stringpool_str511,
(int)(long)&((struct stringpool_t *)0)->stringpool_str374,
(int)(long)&((struct stringpool_t *)0)->stringpool_str133,
(int)(long)&((struct stringpool_t *)0)->stringpool_str807,
(int)(long)&((struct stringpool_t *)0)->stringpool_str386,

View File

@ -1,110 +0,0 @@
(int)(long)&((struct stringpool_t *)0)->stringpool_str463,
(int)(long)&((struct stringpool_t *)0)->stringpool_str258,
(int)(long)&((struct stringpool_t *)0)->stringpool_str314,
(int)(long)&((struct stringpool_t *)0)->stringpool_str482,
(int)(long)&((struct stringpool_t *)0)->stringpool_str365,
(int)(long)&((struct stringpool_t *)0)->stringpool_str278,
(int)(long)&((struct stringpool_t *)0)->stringpool_str464,
(int)(long)&((struct stringpool_t *)0)->stringpool_str347,
(int)(long)&((struct stringpool_t *)0)->stringpool_str279,
(int)(long)&((struct stringpool_t *)0)->stringpool_str470,
(int)(long)&((struct stringpool_t *)0)->stringpool_str353,
(int)(long)&((struct stringpool_t *)0)->stringpool_str378,
(int)(long)&((struct stringpool_t *)0)->stringpool_str546,
(int)(long)&((struct stringpool_t *)0)->stringpool_str429,
(int)(long)&((struct stringpool_t *)0)->stringpool_str588,
(int)(long)&((struct stringpool_t *)0)->stringpool_str510,
(int)(long)&((struct stringpool_t *)0)->stringpool_str563,
(int)(long)&((struct stringpool_t *)0)->stringpool_str492,
(int)(long)&((struct stringpool_t *)0)->stringpool_str545,
(int)(long)&((struct stringpool_t *)0)->stringpool_str30,
(int)(long)&((struct stringpool_t *)0)->stringpool_str569,
(int)(long)&((struct stringpool_t *)0)->stringpool_str124,
(int)(long)&((struct stringpool_t *)0)->stringpool_str184,
(int)(long)&((struct stringpool_t *)0)->stringpool_str230,
(int)(long)&((struct stringpool_t *)0)->stringpool_str148,
(int)(long)&((struct stringpool_t *)0)->stringpool_str160,
(int)(long)&((struct stringpool_t *)0)->stringpool_str138,
(int)(long)&((struct stringpool_t *)0)->stringpool_str452,
(int)(long)&((struct stringpool_t *)0)->stringpool_str122,
(int)(long)&((struct stringpool_t *)0)->stringpool_str136,
(int)(long)&((struct stringpool_t *)0)->stringpool_str175,
(int)(long)&((struct stringpool_t *)0)->stringpool_str129,
(int)(long)&((struct stringpool_t *)0)->stringpool_str235,
(int)(long)&((struct stringpool_t *)0)->stringpool_str153,
(int)(long)&((struct stringpool_t *)0)->stringpool_str165,
(int)(long)&((struct stringpool_t *)0)->stringpool_str143,
(int)(long)&((struct stringpool_t *)0)->stringpool_str276,
(int)(long)&((struct stringpool_t *)0)->stringpool_str680,
(int)(long)&((struct stringpool_t *)0)->stringpool_str684,
(int)(long)&((struct stringpool_t *)0)->stringpool_str127,
(int)(long)&((struct stringpool_t *)0)->stringpool_str81,
(int)(long)&((struct stringpool_t *)0)->stringpool_str141,
(int)(long)&((struct stringpool_t *)0)->stringpool_str187,
(int)(long)&((struct stringpool_t *)0)->stringpool_str105,
(int)(long)&((struct stringpool_t *)0)->stringpool_str117,
(int)(long)&((struct stringpool_t *)0)->stringpool_str95,
(int)(long)&((struct stringpool_t *)0)->stringpool_str409,
(int)(long)&((struct stringpool_t *)0)->stringpool_str79,
(int)(long)&((struct stringpool_t *)0)->stringpool_str91,
(int)(long)&((struct stringpool_t *)0)->stringpool_str94,
(int)(long)&((struct stringpool_t *)0)->stringpool_str48,
(int)(long)&((struct stringpool_t *)0)->stringpool_str86,
(int)(long)&((struct stringpool_t *)0)->stringpool_str387,
(int)(long)&((struct stringpool_t *)0)->stringpool_str451,
(int)(long)&((struct stringpool_t *)0)->stringpool_str346,
(int)(long)&((struct stringpool_t *)0)->stringpool_str415,
(int)(long)&((struct stringpool_t *)0)->stringpool_str489,
(int)(long)&((struct stringpool_t *)0)->stringpool_str389,
(int)(long)&((struct stringpool_t *)0)->stringpool_str752,
(int)(long)&((struct stringpool_t *)0)->stringpool_str774,
(int)(long)&((struct stringpool_t *)0)->stringpool_str953,
(int)(long)&((struct stringpool_t *)0)->stringpool_str853,
(int)(long)&((struct stringpool_t *)0)->stringpool_str432,
(int)(long)&((struct stringpool_t *)0)->stringpool_str513,
(int)(long)&((struct stringpool_t *)0)->stringpool_str297,
(int)(long)&((struct stringpool_t *)0)->stringpool_str502,
(int)(long)&((struct stringpool_t *)0)->stringpool_str372,
(int)(long)&((struct stringpool_t *)0)->stringpool_str412,
(int)(long)&((struct stringpool_t *)0)->stringpool_str419,
(int)(long)&((struct stringpool_t *)0)->stringpool_str478,
(int)(long)&((struct stringpool_t *)0)->stringpool_str71,
(int)(long)&((struct stringpool_t *)0)->stringpool_str62,
(int)(long)&((struct stringpool_t *)0)->stringpool_str266,
(int)(long)&((struct stringpool_t *)0)->stringpool_str192,
(int)(long)&((struct stringpool_t *)0)->stringpool_str246,
(int)(long)&((struct stringpool_t *)0)->stringpool_str215,
(int)(long)&((struct stringpool_t *)0)->stringpool_str424,
(int)(long)&((struct stringpool_t *)0)->stringpool_str307,
(int)(long)&((struct stringpool_t *)0)->stringpool_str507,
(int)(long)&((struct stringpool_t *)0)->stringpool_str669,
(int)(long)&((struct stringpool_t *)0)->stringpool_str667,
(int)(long)&((struct stringpool_t *)0)->stringpool_str706,
(int)(long)&((struct stringpool_t *)0)->stringpool_str211,
(int)(long)&((struct stringpool_t *)0)->stringpool_str320,
(int)(long)&((struct stringpool_t *)0)->stringpool_str202,
(int)(long)&((struct stringpool_t *)0)->stringpool_str283,
(int)(long)&((struct stringpool_t *)0)->stringpool_str400,
(int)(long)&((struct stringpool_t *)0)->stringpool_str714,
(int)(long)&((struct stringpool_t *)0)->stringpool_str147,
(int)(long)&((struct stringpool_t *)0)->stringpool_str556,
(int)(long)&((struct stringpool_t *)0)->stringpool_str554,
(int)(long)&((struct stringpool_t *)0)->stringpool_str584,
(int)(long)&((struct stringpool_t *)0)->stringpool_str67,
(int)(long)&((struct stringpool_t *)0)->stringpool_str516,
(int)(long)&((struct stringpool_t *)0)->stringpool_str101,
(int)(long)&((struct stringpool_t *)0)->stringpool_str271,
(int)(long)&((struct stringpool_t *)0)->stringpool_str223,
(int)(long)&((struct stringpool_t *)0)->stringpool_str327,
(int)(long)&((struct stringpool_t *)0)->stringpool_str99,
(int)(long)&((struct stringpool_t *)0)->stringpool_str540,
(int)(long)&((struct stringpool_t *)0)->stringpool_str293,
(int)(long)&((struct stringpool_t *)0)->stringpool_str98,
(int)(long)&((struct stringpool_t *)0)->stringpool_str901,
(int)(long)&((struct stringpool_t *)0)->stringpool_str895,
(int)(long)&((struct stringpool_t *)0)->stringpool_str907,
(int)(long)&((struct stringpool_t *)0)->stringpool_str666,
(int)(long)&((struct stringpool_t *)0)->stringpool_str255,
(int)(long)&((struct stringpool_t *)0)->stringpool_str58,
(int)(long)&((struct stringpool_t *)0)->stringpool_str691,
(int)(long)&((struct stringpool_t *)0)->stringpool_str411,

View File

@ -13,15 +13,14 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with the GNU LIBICONV Library; see the file COPYING.LIB. License along with the GNU LIBICONV Library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, Inc., 51 Franklin Street, If not, see <http://www.gnu.org/licenses/>. */
Fifth Floor, Boston, MA 02110-1301, USA. */
/* When installed, this file is called "iconv.h". */ /* When installed, this file is called "iconv.h". */
#ifndef _LIBICONV_H #ifndef _LIBICONV_H
#define _LIBICONV_H #define _LIBICONV_H
#define _LIBICONV_VERSION 0x010E /* version number: (major<<8) + minor */ #define _LIBICONV_VERSION 0x010F /* version number: (major<<8) + minor */
#if @HAVE_VISIBILITY@ && BUILDING_LIBICONV #if @HAVE_VISIBILITY@ && BUILDING_LIBICONV
#define LIBICONV_DLL_EXPORTED __attribute__((__visibility__("default"))) #define LIBICONV_DLL_EXPORTED __attribute__((__visibility__("default")))

View File

@ -13,15 +13,14 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with the GNU LIBICONV Library; see the file COPYING.LIB. License along with the GNU LIBICONV Library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, Inc., 51 Franklin Street, If not, see <http://www.gnu.org/licenses/>. */
Fifth Floor, Boston, MA 02110-1301, USA. */
/* When installed, this file is called "iconv.h". */ /* When installed, this file is called "iconv.h". */
#ifndef _LIBICONV_H #ifndef _LIBICONV_H
#define _LIBICONV_H #define _LIBICONV_H
#define _LIBICONV_VERSION 0x010E /* version number: (major<<8) + minor */ #define _LIBICONV_VERSION 0x010F /* version number: (major<<8) + minor */
extern @DLL_VARIABLE@ int _libiconv_version; /* Likewise */ extern @DLL_VARIABLE@ int _libiconv_version; /* Likewise */
/* We would like to #include any system header file which could define /* We would like to #include any system header file which could define

372
3rdparty/libiconv/1.15/lib/Makefile.in vendored Normal file
View File

@ -0,0 +1,372 @@
# Makefile for libiconv/lib
#### Start of system configuration section. ####
# Directories used by "make":
srcdir = @srcdir@
# Directories used by "make install":
prefix = @prefix@
local_prefix = /usr/local
exec_prefix = @exec_prefix@
libdir = @libdir@
# Programs used by "make":
CC = @CC@
CFLAGS = @CFLAGS@ @CFLAG_VISIBILITY@
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@ $(LDFLAGS_@WOE32DLL@)
LDFLAGS_yes = -Wl,--export-all-symbols
LDFLAGS_no =
INCLUDES = -I. -I$(srcdir) -I../include -I$(srcdir)/../include -I.. -I$(srcdir)/..
# -DBUILDING_LIBICONV: Change expansion of LIBICONV_DLL_EXPORTED macro.
# -DBUILDING_DLL: Change expansion of RELOCATABLE_DLL_EXPORTED macro.
DEFS = -DLIBDIR=\"$(libdir)\" -DBUILDING_LIBICONV -DBUILDING_DLL \
-DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"$(libdir)\" -DNO_XMALLOC \
-Dset_relocation_prefix=libiconv_set_relocation_prefix \
-Drelocate=libiconv_relocate @DEFS@
LIBTOOL = @LIBTOOL@
LIBTOOL_COMPILE = $(LIBTOOL) --mode=compile
LIBTOOL_LINK = $(LIBTOOL) --mode=link
LIBTOOL_INSTALL = $(LIBTOOL) --mode=install
LIBTOOL_UNINSTALL = $(LIBTOOL) --mode=uninstall
# Windows resource compiler (windres). Used via libtool.
RC = @RC@
CP = cp
MV = mv
LN = @LN@
LN_S = @LN_S@
RM = rm -f
# Programs used by "make install":
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
mkinstalldirs = $(SHELL) @top_srcdir@/build-aux/mkinstalldirs
#### End of system configuration section. ####
SHELL = /bin/sh
# Before making a release, change this according to the libtool documentation,
# section "Library interface versions".
LIBICONV_VERSION_INFO = 8:0:6
PACKAGE_VERSION = @VERSION@
# Needed by $(LIBTOOL).
top_builddir = ..
SOURCES = $(srcdir)/iconv.c $(srcdir)/../libcharset/lib/localcharset.c $(srcdir)/relocatable.c
OBJECTS = iconv.lo localcharset.lo relocatable.lo $(OBJECTS_EXP_@WOE32DLL@) $(OBJECTS_RES_@WOE32@)
OBJECTS_EXP_yes = iconv-exports.lo
OBJECTS_EXP_no =
OBJECTS_RES_yes = libiconv.res.lo
OBJECTS_RES_no =
all : libiconv.la
libiconv.la : $(OBJECTS)
$(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(CFLAGS) -o libiconv.la -rpath $(libdir) -version-info $(LIBICONV_VERSION_INFO) -no-undefined $(OBJECTS)
iconv.lo : $(srcdir)/iconv.c $(srcdir)/converters.h \
$(srcdir)/encodings.def $(srcdir)/encodings_aix.def $(srcdir)/encodings_osf1.def $(srcdir)/encodings_dos.def $(srcdir)/encodings_local.def \
$(srcdir)/aliases.h $(srcdir)/aliases_sysaix.h $(srcdir)/aliases_syshpux.h $(srcdir)/aliases_sysosf1.h $(srcdir)/aliases_syssolaris.h \
$(srcdir)/aliases_aix.h $(srcdir)/aliases_aix_sysaix.h \
$(srcdir)/aliases_osf1.h $(srcdir)/aliases_osf1_sysosf1.h \
$(srcdir)/aliases_dos.h \
$(srcdir)/aliases_extra.h \
$(srcdir)/flags.h $(srcdir)/translit.h
$(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(DEFS) -c $(srcdir)/iconv.c
localcharset.lo : $(srcdir)/../libcharset/lib/localcharset.c $(srcdir)/relocatable.h
$(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(DEFS) -c $(srcdir)/../libcharset/lib/localcharset.c
relocatable.lo : $(srcdir)/relocatable.c $(srcdir)/relocatable.h
$(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(DEFS) -c $(srcdir)/relocatable.c
iconv-exports.lo : $(srcdir)/../woe32dll/iconv-exports.c
$(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(DEFS) -c $(srcdir)/../woe32dll/iconv-exports.c
libiconv.res.lo : $(srcdir)/../windows/libiconv.rc
$(LIBTOOL_COMPILE) --tag=RC $(RC) `$(SHELL) $(srcdir)/../windows/windres-options --escape $(PACKAGE_VERSION)` -i $(srcdir)/../windows/libiconv.rc -o libiconv.res.lo --output-format=coff
# Installs the library and include files only. Typically called with only
# $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
install-lib : all force
if [ ! -d $(libdir) ] ; then $(mkinstalldirs) $(libdir) ; fi
$(LIBTOOL_INSTALL) $(INSTALL) libiconv.la $(libdir)/libiconv.la
# On AIX, libiconv.a must include the object files of /lib/libiconv.a,
# otherwise the setlocale() call fails when invoked from executables linked
# with -rpath $(libdir), even if linked without -liconv.
install : all force
if [ ! -d $(DESTDIR)$(libdir) ] ; then $(mkinstalldirs) $(DESTDIR)$(libdir) ; fi
$(LIBTOOL_INSTALL) $(INSTALL) libiconv.la $(DESTDIR)$(libdir)/libiconv.la
case "@host_os@" in \
aix*) (cd $(DESTDIR)$(libdir) && \
objects=`ar t libiconv.a`" "`ar t /lib/libiconv.a` && \
ar x libiconv.a && ar x /lib/libiconv.a && \
ar q libiconv.new.a $$objects && \
rm -f $$objects && \
mv -f libiconv.new.a libiconv.a) ;; \
esac
install-strip : install
installdirs : force
if [ ! -d $(DESTDIR)$(libdir) ] ; then $(mkinstalldirs) $(DESTDIR)$(libdir) ; fi
uninstall : force
$(LIBTOOL_UNINSTALL) $(RM) $(DESTDIR)$(libdir)/libiconv.la
check : all
mostlyclean : clean
clean : force
$(RM) *.o *.lo *.a *.la core *.stackdump so_locations
$(RM) -r .libs _libs
distclean : clean
$(RM) Makefile config.h
maintainer-clean : distclean
# List of source files.
SOURCE_FILES = \
Makefile.in config.h.in \
encodings.def \
encodings_aix.def \
encodings_osf1.def \
encodings_dos.def \
encodings_extra.def \
encodings_local.def \
translit.def \
genaliases.c \
genaliases2.c \
genflags.c \
gentranslit.c \
iconv.c \
converters.h \
ascii.h \
utf8.h \
ucs2.h \
ucs2be.h \
ucs2le.h \
ucs4.h \
ucs4be.h \
ucs4le.h \
utf16.h \
utf16be.h \
utf16le.h \
utf32.h \
utf32be.h \
utf32le.h \
utf7.h \
ucs2internal.h \
ucs2swapped.h \
ucs4internal.h \
ucs4swapped.h \
c99.h \
java.h \
iso8859_1.h \
iso8859_2.h \
iso8859_3.h \
iso8859_4.h \
iso8859_5.h \
iso8859_6.h \
iso8859_7.h \
iso8859_8.h \
iso8859_9.h \
iso8859_10.h \
iso8859_11.h \
iso8859_13.h \
iso8859_14.h \
iso8859_15.h \
iso8859_16.h \
koi8_r.h \
koi8_u.h \
koi8_ru.h \
cp1250.h \
cp1251.h \
cp1252.h \
cp1253.h \
cp1254.h \
cp1255.h \
cp1256.h \
cp1257.h \
cp1258.h \
vietcomb.h \
cp850.h \
cp862.h \
cp866.h \
cp1131.h \
mac_roman.h \
mac_centraleurope.h \
mac_iceland.h \
mac_croatian.h \
mac_romania.h \
mac_cyrillic.h \
mac_ukraine.h \
mac_greek.h \
mac_turkish.h \
mac_hebrew.h \
mac_arabic.h \
mac_thai.h \
hp_roman8.h \
nextstep.h \
armscii_8.h \
georgian_academy.h \
georgian_ps.h \
koi8_t.h \
pt154.h \
rk1048.h \
mulelao.h \
cp1133.h \
tis620.h \
cp874.h \
viscii.h \
tcvn.h \
iso646_jp.h \
jisx0201.h \
jisx0208.h \
jisx0212.h \
iso646_cn.h \
gb2312.h \
isoir165.h \
isoir165ext.h \
gb12345.h \
gb12345ext.h \
gbk.h \
gbkext1.h \
gbkext2.h \
gbkext_inv.h \
cp936ext.h \
cns11643.h \
cns11643_1.h \
cns11643_2.h \
cns11643_3.h \
cns11643_4.h \
cns11643_4a.h \
cns11643_4b.h \
cns11643_5.h \
cns11643_6.h \
cns11643_7.h \
cns11643_15.h \
cns11643_inv.h \
big5.h \
ksc5601.h \
johab_hangul.h \
euc_jp.h \
sjis.h \
cp932.h \
cp932ext.h \
iso2022_jp.h \
iso2022_jp1.h \
iso2022_jp2.h \
iso2022_jpms.h \
cp50221_0208_ext.h \
cp50221_0212_ext.h \
euc_cn.h \
ces_gbk.h \
cp936.h \
gb18030.h \
gb18030ext.h \
gb18030uni.h \
iso2022_cn.h \
iso2022_cnext.h \
hz.h \
euc_tw.h \
ces_big5.h \
cp950.h \
cp950ext.h \
big5hkscs1999.h \
hkscs1999.h \
big5hkscs2001.h \
hkscs2001.h \
big5hkscs2004.h \
hkscs2004.h \
big5hkscs2008.h \
hkscs2008.h \
euc_kr.h \
cp949.h \
uhc_1.h \
uhc_2.h \
johab.h \
iso2022_kr.h \
cp856.h \
cp922.h \
cp943.h \
cp1046.h \
cp1124.h \
cp1129.h \
cp1161.h \
cp1162.h \
cp1163.h \
dec_kanji.h \
dec_hanyu.h \
cp437.h \
cp737.h \
cp775.h \
cp852.h \
cp853.h \
cp855.h \
cp857.h \
cp858.h \
cp860.h \
cp861.h \
cp863.h \
cp864.h \
cp865.h \
cp869.h \
cp1125.h \
euc_jisx0213.h \
jisx0213.h \
shift_jisx0213.h \
iso2022_jp3.h \
big5_2003.h \
tds565.h \
atarist.h \
riscos1.h \
flushwc.h \
cjk_variants.h \
loops.h \
loop_unicode.h \
loop_wchar.h \
aliases2.h \
iconv_open1.h \
iconv_open2.h \
relocatable.h relocatable.c
# List of distributed files imported from other packages.
IMPORTED_FILES =
# List of distributed files generated by autotools or Makefile.devel.
GENERATED_FILES = \
aliases.gperf aliases_sysaix.gperf aliases_syshpux.gperf aliases_sysosf1.gperf aliases_syssolaris.gperf \
aliases.h aliases_sysaix.h aliases_syshpux.h aliases_sysosf1.h aliases_syssolaris.h \
aliases_aix.h aliases_aix_sysaix.h \
aliases_osf1.h aliases_osf1_sysosf1.h \
aliases_dos.h \
aliases_extra.h \
canonical.h canonical_sysaix.h canonical_syshpux.h canonical_sysosf1.h canonical_syssolaris.h \
canonical_aix.h canonical_aix_sysaix.h \
canonical_osf1.h canonical_osf1_sysosf1.h \
canonical_dos.h \
canonical_extra.h \
canonical_local.h canonical_local_sysaix.h canonical_local_syshpux.h canonical_local_sysosf1.h canonical_local_syssolaris.h \
flags.h \
translit.h
# List of distributed files generated by "make".
DISTRIBUTED_BUILT_FILES =
# List of distributed files.
DISTFILES = $(SOURCE_FILES) $(IMPORTED_FILES) $(GENERATED_FILES) $(DISTRIBUTED_BUILT_FILES)
distdir : $(DISTFILES)
for file in $(DISTFILES); do \
if test -f $$file; then dir='.'; else dir='$(srcdir)'; fi; \
cp -p "$$dir/$$file" '$(distdir)'/$$file || exit 1; \
done
force :

View File

@ -314,6 +314,8 @@ CSISO2022JP, ei_iso2022_jp
ISO-2022-JP-1, ei_iso2022_jp1 ISO-2022-JP-1, ei_iso2022_jp1
ISO-2022-JP-2, ei_iso2022_jp2 ISO-2022-JP-2, ei_iso2022_jp2
CSISO2022JP2, ei_iso2022_jp2 CSISO2022JP2, ei_iso2022_jp2
ISO-2022-JP-MS, ei_iso2022_jpms
CP50221, ei_iso2022_jpms
EUC-CN, ei_euc_cn EUC-CN, ei_euc_cn
EUCCN, ei_euc_cn EUCCN, ei_euc_cn
GB2312, ei_euc_cn GB2312, ei_euc_cn

View File

@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
#ifdef USE_AIX #ifdef USE_AIX

View File

@ -320,6 +320,8 @@ CSISO2022JP, ei_iso2022_jp
ISO-2022-JP-1, ei_iso2022_jp1 ISO-2022-JP-1, ei_iso2022_jp1
ISO-2022-JP-2, ei_iso2022_jp2 ISO-2022-JP-2, ei_iso2022_jp2
CSISO2022JP2, ei_iso2022_jp2 CSISO2022JP2, ei_iso2022_jp2
ISO-2022-JP-MS, ei_iso2022_jpms
CP50221, ei_iso2022_jpms
EUC-CN, ei_euc_cn EUC-CN, ei_euc_cn
EUCCN, ei_euc_cn EUCCN, ei_euc_cn
GB2312, ei_euc_cn GB2312, ei_euc_cn

View File

@ -323,6 +323,8 @@ CSISO2022JP, ei_iso2022_jp
ISO-2022-JP-1, ei_iso2022_jp1 ISO-2022-JP-1, ei_iso2022_jp1
ISO-2022-JP-2, ei_iso2022_jp2 ISO-2022-JP-2, ei_iso2022_jp2
CSISO2022JP2, ei_iso2022_jp2 CSISO2022JP2, ei_iso2022_jp2
ISO-2022-JP-MS, ei_iso2022_jpms
CP50221, ei_iso2022_jpms
EUC-CN, ei_euc_cn EUC-CN, ei_euc_cn
EUCCN, ei_euc_cn EUCCN, ei_euc_cn
GB2312, ei_euc_cn GB2312, ei_euc_cn

View File

@ -316,6 +316,8 @@ CSISO2022JP, ei_iso2022_jp
ISO-2022-JP-1, ei_iso2022_jp1 ISO-2022-JP-1, ei_iso2022_jp1
ISO-2022-JP-2, ei_iso2022_jp2 ISO-2022-JP-2, ei_iso2022_jp2
CSISO2022JP2, ei_iso2022_jp2 CSISO2022JP2, ei_iso2022_jp2
ISO-2022-JP-MS, ei_iso2022_jpms
CP50221, ei_iso2022_jpms
EUC-CN, ei_euc_cn EUC-CN, ei_euc_cn
EUCCN, ei_euc_cn EUCCN, ei_euc_cn
GB2312, ei_euc_cn GB2312, ei_euc_cn

View File

@ -318,6 +318,8 @@ CSISO2022JP, ei_iso2022_jp
ISO-2022-JP-1, ei_iso2022_jp1 ISO-2022-JP-1, ei_iso2022_jp1
ISO-2022-JP-2, ei_iso2022_jp2 ISO-2022-JP-2, ei_iso2022_jp2
CSISO2022JP2, ei_iso2022_jp2 CSISO2022JP2, ei_iso2022_jp2
ISO-2022-JP-MS, ei_iso2022_jpms
CP50221, ei_iso2022_jpms
EUC-CN, ei_euc_cn EUC-CN, ei_euc_cn
EUCCN, ei_euc_cn EUCCN, ei_euc_cn
GB2312, ei_euc_cn GB2312, ei_euc_cn

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2002 Free Software Foundation, Inc. * Copyright (C) 1999-2002, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -44,7 +43,7 @@ static const unsigned short armscii_8_2uni[96] = {
}; };
static int static int
armscii_8_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) armscii_8_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
if (c < 0xa0) { if (c < 0xa0) {
@ -91,7 +90,7 @@ static const unsigned char armscii_8_page20[24] = {
}; };
static int static int
armscii_8_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) armscii_8_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char c = 0; unsigned char c = 0;
if (wc < 0x0028) { if (wc < 0x0028) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2001 Free Software Foundation, Inc. * Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -23,7 +22,7 @@
*/ */
static int static int
ascii_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) ascii_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
if (c < 0x80) { if (c < 0x80) {
@ -34,7 +33,7 @@ ascii_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n)
} }
static int static int
ascii_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) ascii_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
if (wc < 0x0080) { if (wc < 0x0080) {
*r = wc; *r = wc;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2005 Free Software Foundation, Inc. * Copyright (C) 1999-2005, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -50,7 +49,7 @@ static const unsigned short atarist_2uni[128] = {
}; };
static int static int
atarist_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) atarist_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
if (c < 0x80) if (c < 0x80)
@ -125,7 +124,7 @@ static const unsigned char atarist_page23[24] = {
}; };
static int static int
atarist_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) atarist_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char c = 0; unsigned char c = 0;
if (wc < 0x0080) { if (wc < 0x0080) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2001 Free Software Foundation, Inc. * Copyright (C) 1999-2001, 2012, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -1871,7 +1870,7 @@ static const unsigned short big5_2uni_pagec9[7652] = {
}; };
static int static int
big5_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) big5_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c1 = s[0]; unsigned char c1 = s[0];
if ((c1 >= 0xa1 && c1 <= 0xc7) || (c1 >= 0xc9 && c1 <= 0xf9)) { if ((c1 >= 0xa1 && c1 <= 0xc7) || (c1 >= 0xc9 && c1 <= 0xf9)) {
@ -4117,7 +4116,7 @@ static const Summary16 big5_uni2indx_pagefe[23] = {
}; };
static int static int
big5_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) big5_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
if (n >= 2) { if (n >= 2) {
const Summary16 *summary = NULL; const Summary16 *summary = NULL;
@ -4142,9 +4141,9 @@ big5_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
unsigned int i = wc & 0x0f; unsigned int i = wc & 0x0f;
if (used & ((unsigned short) 1 << i)) { if (used & ((unsigned short) 1 << i)) {
unsigned short c; unsigned short c;
/* Keep in `used' only the bits 0..i-1. */ /* Keep in 'used' only the bits 0..i-1. */
used &= ((unsigned short) 1 << i) - 1; used &= ((unsigned short) 1 << i) - 1;
/* Add `summary->indx' and the number of bits set in `used'. */ /* Add 'summary->indx' and the number of bits set in 'used'. */
used = (used & 0x5555) + ((used & 0xaaaa) >> 1); used = (used & 0x5555) + ((used & 0xaaaa) >> 1);
used = (used & 0x3333) + ((used & 0xcccc) >> 2); used = (used & 0x3333) + ((used & 0xcccc) >> 2);
used = (used & 0x0f0f) + ((used & 0xf0f0) >> 4); used = (used & 0x0f0f) + ((used & 0xf0f0) >> 4);

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2001, 2005 Free Software Foundation, Inc. * Copyright (C) 1999-2001, 2005, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -181,7 +180,7 @@ static const unsigned short big5_2003_2uni_pagef9[41] = {
}; };
static int static int
big5_2003_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) big5_2003_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
/* Code set 0 (ASCII) */ /* Code set 0 (ASCII) */
@ -268,7 +267,7 @@ static const unsigned char big5_2003_2charset_page25[29] = {
}; };
static int static int
big5_2003_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) big5_2003_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char buf[2]; unsigned char buf[2];
int ret; int ret;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2002, 2006 Free Software Foundation, Inc. * Copyright (C) 1999-2002, 2006, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -47,7 +46,7 @@
#include "flushwc.h" #include "flushwc.h"
static int static int
big5hkscs1999_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) big5hkscs1999_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
ucs4_t last_wc = conv->istate; ucs4_t last_wc = conv->istate;
if (last_wc) { if (last_wc) {
@ -104,7 +103,7 @@ big5hkscs1999_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n)
#define big5hkscs1999_flushwc normal_flushwc #define big5hkscs1999_flushwc normal_flushwc
static int static int
big5hkscs1999_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) big5hkscs1999_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
int count = 0; int count = 0;
unsigned char last = conv->ostate; unsigned char last = conv->ostate;
@ -181,7 +180,7 @@ big5hkscs1999_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
} }
static int static int
big5hkscs1999_reset (conv_t conv, unsigned char *r, int n) big5hkscs1999_reset (conv_t conv, unsigned char *r, size_t n)
{ {
unsigned char last = conv->ostate; unsigned char last = conv->ostate;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2002, 2006 Free Software Foundation, Inc. * Copyright (C) 1999-2002, 2006, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -49,7 +48,7 @@
#include "flushwc.h" #include "flushwc.h"
static int static int
big5hkscs2001_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) big5hkscs2001_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
ucs4_t last_wc = conv->istate; ucs4_t last_wc = conv->istate;
if (last_wc) { if (last_wc) {
@ -111,7 +110,7 @@ big5hkscs2001_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n)
#define big5hkscs2001_flushwc normal_flushwc #define big5hkscs2001_flushwc normal_flushwc
static int static int
big5hkscs2001_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) big5hkscs2001_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
int count = 0; int count = 0;
unsigned char last = conv->ostate; unsigned char last = conv->ostate;
@ -199,7 +198,7 @@ big5hkscs2001_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
} }
static int static int
big5hkscs2001_reset (conv_t conv, unsigned char *r, int n) big5hkscs2001_reset (conv_t conv, unsigned char *r, size_t n)
{ {
unsigned char last = conv->ostate; unsigned char last = conv->ostate;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2002, 2006 Free Software Foundation, Inc. * Copyright (C) 1999-2002, 2006, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -49,7 +48,7 @@
#include "flushwc.h" #include "flushwc.h"
static int static int
big5hkscs2004_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) big5hkscs2004_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
ucs4_t last_wc = conv->istate; ucs4_t last_wc = conv->istate;
if (last_wc) { if (last_wc) {
@ -116,7 +115,7 @@ big5hkscs2004_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n)
#define big5hkscs2004_flushwc normal_flushwc #define big5hkscs2004_flushwc normal_flushwc
static int static int
big5hkscs2004_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) big5hkscs2004_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
int count = 0; int count = 0;
unsigned char last = conv->ostate; unsigned char last = conv->ostate;
@ -215,7 +214,7 @@ big5hkscs2004_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
} }
static int static int
big5hkscs2004_reset (conv_t conv, unsigned char *r, int n) big5hkscs2004_reset (conv_t conv, unsigned char *r, size_t n)
{ {
unsigned char last = conv->ostate; unsigned char last = conv->ostate;

View File

@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -49,7 +48,7 @@
#include "flushwc.h" #include "flushwc.h"
static int static int
big5hkscs2008_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) big5hkscs2008_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
ucs4_t last_wc = conv->istate; ucs4_t last_wc = conv->istate;
if (last_wc) { if (last_wc) {
@ -121,7 +120,7 @@ big5hkscs2008_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n)
#define big5hkscs2008_flushwc normal_flushwc #define big5hkscs2008_flushwc normal_flushwc
static int static int
big5hkscs2008_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) big5hkscs2008_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
int count = 0; int count = 0;
unsigned char last = conv->ostate; unsigned char last = conv->ostate;
@ -231,7 +230,7 @@ big5hkscs2008_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
} }
static int static int
big5hkscs2008_reset (conv_t conv, unsigned char *r, int n) big5hkscs2008_reset (conv_t conv, unsigned char *r, size_t n)
{ {
unsigned char last = conv->ostate; unsigned char last = conv->ostate;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2002 Free Software Foundation, Inc. * Copyright (C) 1999-2002, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -27,7 +26,7 @@
*/ */
static int static int
c99_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) c99_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c; unsigned char c;
ucs4_t wc; ucs4_t wc;
@ -94,7 +93,7 @@ simply_backslash:
} }
static int static int
c99_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) c99_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
if (wc < 0xa0) { if (wc < 0xa0) {
*r = wc; *r = wc;

111
3rdparty/libiconv/1.15/lib/canonical.h vendored Normal file
View File

@ -0,0 +1,111 @@
(int)(long)&((struct stringpool_t *)0)->stringpool_str392,
(int)(long)&((struct stringpool_t *)0)->stringpool_str389,
(int)(long)&((struct stringpool_t *)0)->stringpool_str258,
(int)(long)&((struct stringpool_t *)0)->stringpool_str436,
(int)(long)&((struct stringpool_t *)0)->stringpool_str285,
(int)(long)&((struct stringpool_t *)0)->stringpool_str222,
(int)(long)&((struct stringpool_t *)0)->stringpool_str418,
(int)(long)&((struct stringpool_t *)0)->stringpool_str267,
(int)(long)&((struct stringpool_t *)0)->stringpool_str361,
(int)(long)&((struct stringpool_t *)0)->stringpool_str567,
(int)(long)&((struct stringpool_t *)0)->stringpool_str416,
(int)(long)&((struct stringpool_t *)0)->stringpool_str512,
(int)(long)&((struct stringpool_t *)0)->stringpool_str690,
(int)(long)&((struct stringpool_t *)0)->stringpool_str539,
(int)(long)&((struct stringpool_t *)0)->stringpool_str689,
(int)(long)&((struct stringpool_t *)0)->stringpool_str320,
(int)(long)&((struct stringpool_t *)0)->stringpool_str750,
(int)(long)&((struct stringpool_t *)0)->stringpool_str302,
(int)(long)&((struct stringpool_t *)0)->stringpool_str732,
(int)(long)&((struct stringpool_t *)0)->stringpool_str64,
(int)(long)&((struct stringpool_t *)0)->stringpool_str811,
(int)(long)&((struct stringpool_t *)0)->stringpool_str134,
(int)(long)&((struct stringpool_t *)0)->stringpool_str186,
(int)(long)&((struct stringpool_t *)0)->stringpool_str324,
(int)(long)&((struct stringpool_t *)0)->stringpool_str150,
(int)(long)&((struct stringpool_t *)0)->stringpool_str154,
(int)(long)&((struct stringpool_t *)0)->stringpool_str130,
(int)(long)&((struct stringpool_t *)0)->stringpool_str466,
(int)(long)&((struct stringpool_t *)0)->stringpool_str166,
(int)(long)&((struct stringpool_t *)0)->stringpool_str170,
(int)(long)&((struct stringpool_t *)0)->stringpool_str322,
(int)(long)&((struct stringpool_t *)0)->stringpool_str142,
(int)(long)&((struct stringpool_t *)0)->stringpool_str332,
(int)(long)&((struct stringpool_t *)0)->stringpool_str158,
(int)(long)&((struct stringpool_t *)0)->stringpool_str162,
(int)(long)&((struct stringpool_t *)0)->stringpool_str138,
(int)(long)&((struct stringpool_t *)0)->stringpool_str236,
(int)(long)&((struct stringpool_t *)0)->stringpool_str574,
(int)(long)&((struct stringpool_t *)0)->stringpool_str580,
(int)(long)&((struct stringpool_t *)0)->stringpool_str268,
(int)(long)&((struct stringpool_t *)0)->stringpool_str88,
(int)(long)&((struct stringpool_t *)0)->stringpool_str140,
(int)(long)&((struct stringpool_t *)0)->stringpool_str278,
(int)(long)&((struct stringpool_t *)0)->stringpool_str104,
(int)(long)&((struct stringpool_t *)0)->stringpool_str108,
(int)(long)&((struct stringpool_t *)0)->stringpool_str84,
(int)(long)&((struct stringpool_t *)0)->stringpool_str420,
(int)(long)&((struct stringpool_t *)0)->stringpool_str120,
(int)(long)&((struct stringpool_t *)0)->stringpool_str250,
(int)(long)&((struct stringpool_t *)0)->stringpool_str110,
(int)(long)&((struct stringpool_t *)0)->stringpool_str54,
(int)(long)&((struct stringpool_t *)0)->stringpool_str147,
(int)(long)&((struct stringpool_t *)0)->stringpool_str476,
(int)(long)&((struct stringpool_t *)0)->stringpool_str463,
(int)(long)&((struct stringpool_t *)0)->stringpool_str442,
(int)(long)&((struct stringpool_t *)0)->stringpool_str562,
(int)(long)&((struct stringpool_t *)0)->stringpool_str813,
(int)(long)&((struct stringpool_t *)0)->stringpool_str248,
(int)(long)&((struct stringpool_t *)0)->stringpool_str749,
(int)(long)&((struct stringpool_t *)0)->stringpool_str591,
(int)(long)&((struct stringpool_t *)0)->stringpool_str702,
(int)(long)&((struct stringpool_t *)0)->stringpool_str796,
(int)(long)&((struct stringpool_t *)0)->stringpool_str680,
(int)(long)&((struct stringpool_t *)0)->stringpool_str430,
(int)(long)&((struct stringpool_t *)0)->stringpool_str448,
(int)(long)&((struct stringpool_t *)0)->stringpool_str311,
(int)(long)&((struct stringpool_t *)0)->stringpool_str391,
(int)(long)&((struct stringpool_t *)0)->stringpool_str446,
(int)(long)&((struct stringpool_t *)0)->stringpool_str312,
(int)(long)&((struct stringpool_t *)0)->stringpool_str286,
(int)(long)&((struct stringpool_t *)0)->stringpool_str121,
(int)(long)&((struct stringpool_t *)0)->stringpool_str176,
(int)(long)&((struct stringpool_t *)0)->stringpool_str375,
(int)(long)&((struct stringpool_t *)0)->stringpool_str337,
(int)(long)&((struct stringpool_t *)0)->stringpool_str282,
(int)(long)&((struct stringpool_t *)0)->stringpool_str242,
(int)(long)&((struct stringpool_t *)0)->stringpool_str206,
(int)(long)&((struct stringpool_t *)0)->stringpool_str211,
(int)(long)&((struct stringpool_t *)0)->stringpool_str536,
(int)(long)&((struct stringpool_t *)0)->stringpool_str651,
(int)(long)&((struct stringpool_t *)0)->stringpool_str683,
(int)(long)&((struct stringpool_t *)0)->stringpool_str613,
(int)(long)&((struct stringpool_t *)0)->stringpool_str329,
(int)(long)&((struct stringpool_t *)0)->stringpool_str426,
(int)(long)&((struct stringpool_t *)0)->stringpool_str89,
(int)(long)&((struct stringpool_t *)0)->stringpool_str344,
(int)(long)&((struct stringpool_t *)0)->stringpool_str479,
(int)(long)&((struct stringpool_t *)0)->stringpool_str548,
(int)(long)&((struct stringpool_t *)0)->stringpool_str209,
(int)(long)&((struct stringpool_t *)0)->stringpool_str661,
(int)(long)&((struct stringpool_t *)0)->stringpool_str608,
(int)(long)&((struct stringpool_t *)0)->stringpool_str634,
(int)(long)&((struct stringpool_t *)0)->stringpool_str610,
(int)(long)&((struct stringpool_t *)0)->stringpool_str72,
(int)(long)&((struct stringpool_t *)0)->stringpool_str388,
(int)(long)&((struct stringpool_t *)0)->stringpool_str153,
(int)(long)&((struct stringpool_t *)0)->stringpool_str443,
(int)(long)&((struct stringpool_t *)0)->stringpool_str254,
(int)(long)&((struct stringpool_t *)0)->stringpool_str281,
(int)(long)&((struct stringpool_t *)0)->stringpool_str78,
(int)(long)&((struct stringpool_t *)0)->stringpool_str437,
(int)(long)&((struct stringpool_t *)0)->stringpool_str210,
(int)(long)&((struct stringpool_t *)0)->stringpool_str252,
(int)(long)&((struct stringpool_t *)0)->stringpool_str710,
(int)(long)&((struct stringpool_t *)0)->stringpool_str692,
(int)(long)&((struct stringpool_t *)0)->stringpool_str700,
(int)(long)&((struct stringpool_t *)0)->stringpool_str495,
(int)(long)&((struct stringpool_t *)0)->stringpool_str243,
(int)(long)&((struct stringpool_t *)0)->stringpool_str106,
(int)(long)&((struct stringpool_t *)0)->stringpool_str869,
(int)(long)&((struct stringpool_t *)0)->stringpool_str425,

View File

@ -0,0 +1,2 @@
(int)(long)&((struct stringpool_t *)0)->stringpool_str193,
(int)(long)&((struct stringpool_t *)0)->stringpool_str496,

View File

@ -0,0 +1,2 @@
(int)(long)&((struct stringpool_t *)0)->stringpool_str15,
(int)(long)&((struct stringpool_t *)0)->stringpool_str484,

View File

@ -0,0 +1,2 @@
(int)(long)&((struct stringpool_t *)0)->stringpool_str171,
(int)(long)&((struct stringpool_t *)0)->stringpool_str723,

View File

@ -0,0 +1,2 @@
(int)(long)&((struct stringpool_t *)0)->stringpool_str193,
(int)(long)&((struct stringpool_t *)0)->stringpool_str457,

View File

@ -0,0 +1,2 @@
(int)(long)&((struct stringpool_t *)0)->stringpool_str112,
(int)(long)&((struct stringpool_t *)0)->stringpool_str491,

View File

@ -0,0 +1,111 @@
(int)(long)&((struct stringpool_t *)0)->stringpool_str391,
(int)(long)&((struct stringpool_t *)0)->stringpool_str282,
(int)(long)&((struct stringpool_t *)0)->stringpool_str145,
(int)(long)&((struct stringpool_t *)0)->stringpool_str452,
(int)(long)&((struct stringpool_t *)0)->stringpool_str267,
(int)(long)&((struct stringpool_t *)0)->stringpool_str131,
(int)(long)&((struct stringpool_t *)0)->stringpool_str445,
(int)(long)&((struct stringpool_t *)0)->stringpool_str260,
(int)(long)&((struct stringpool_t *)0)->stringpool_str255,
(int)(long)&((struct stringpool_t *)0)->stringpool_str573,
(int)(long)&((struct stringpool_t *)0)->stringpool_str388,
(int)(long)&((struct stringpool_t *)0)->stringpool_str303,
(int)(long)&((struct stringpool_t *)0)->stringpool_str610,
(int)(long)&((struct stringpool_t *)0)->stringpool_str425,
(int)(long)&((struct stringpool_t *)0)->stringpool_str618,
(int)(long)&((struct stringpool_t *)0)->stringpool_str418,
(int)(long)&((struct stringpool_t *)0)->stringpool_str469,
(int)(long)&((struct stringpool_t *)0)->stringpool_str411,
(int)(long)&((struct stringpool_t *)0)->stringpool_str462,
(int)(long)&((struct stringpool_t *)0)->stringpool_str5,
(int)(long)&((struct stringpool_t *)0)->stringpool_str457,
(int)(long)&((struct stringpool_t *)0)->stringpool_str155,
(int)(long)&((struct stringpool_t *)0)->stringpool_str183,
(int)(long)&((struct stringpool_t *)0)->stringpool_str207,
(int)(long)&((struct stringpool_t *)0)->stringpool_str169,
(int)(long)&((struct stringpool_t *)0)->stringpool_str177,
(int)(long)&((struct stringpool_t *)0)->stringpool_str161,
(int)(long)&((struct stringpool_t *)0)->stringpool_str527,
(int)(long)&((struct stringpool_t *)0)->stringpool_str191,
(int)(long)&((struct stringpool_t *)0)->stringpool_str151,
(int)(long)&((struct stringpool_t *)0)->stringpool_str242,
(int)(long)&((struct stringpool_t *)0)->stringpool_str158,
(int)(long)&((struct stringpool_t *)0)->stringpool_str210,
(int)(long)&((struct stringpool_t *)0)->stringpool_str172,
(int)(long)&((struct stringpool_t *)0)->stringpool_str180,
(int)(long)&((struct stringpool_t *)0)->stringpool_str164,
(int)(long)&((struct stringpool_t *)0)->stringpool_str313,
(int)(long)&((struct stringpool_t *)0)->stringpool_str507,
(int)(long)&((struct stringpool_t *)0)->stringpool_str508,
(int)(long)&((struct stringpool_t *)0)->stringpool_str127,
(int)(long)&((struct stringpool_t *)0)->stringpool_str43,
(int)(long)&((struct stringpool_t *)0)->stringpool_str71,
(int)(long)&((struct stringpool_t *)0)->stringpool_str95,
(int)(long)&((struct stringpool_t *)0)->stringpool_str57,
(int)(long)&((struct stringpool_t *)0)->stringpool_str65,
(int)(long)&((struct stringpool_t *)0)->stringpool_str49,
(int)(long)&((struct stringpool_t *)0)->stringpool_str415,
(int)(long)&((struct stringpool_t *)0)->stringpool_str79,
(int)(long)&((struct stringpool_t *)0)->stringpool_str128,
(int)(long)&((struct stringpool_t *)0)->stringpool_str64,
(int)(long)&((struct stringpool_t *)0)->stringpool_str42,
(int)(long)&((struct stringpool_t *)0)->stringpool_str44,
(int)(long)&((struct stringpool_t *)0)->stringpool_str437,
(int)(long)&((struct stringpool_t *)0)->stringpool_str557,
(int)(long)&((struct stringpool_t *)0)->stringpool_str429,
(int)(long)&((struct stringpool_t *)0)->stringpool_str451,
(int)(long)&((struct stringpool_t *)0)->stringpool_str542,
(int)(long)&((struct stringpool_t *)0)->stringpool_str426,
(int)(long)&((struct stringpool_t *)0)->stringpool_str744,
(int)(long)&((struct stringpool_t *)0)->stringpool_str809,
(int)(long)&((struct stringpool_t *)0)->stringpool_str815,
(int)(long)&((struct stringpool_t *)0)->stringpool_str958,
(int)(long)&((struct stringpool_t *)0)->stringpool_str518,
(int)(long)&((struct stringpool_t *)0)->stringpool_str560,
(int)(long)&((struct stringpool_t *)0)->stringpool_str309,
(int)(long)&((struct stringpool_t *)0)->stringpool_str647,
(int)(long)&((struct stringpool_t *)0)->stringpool_str453,
(int)(long)&((struct stringpool_t *)0)->stringpool_str270,
(int)(long)&((struct stringpool_t *)0)->stringpool_str315,
(int)(long)&((struct stringpool_t *)0)->stringpool_str549,
(int)(long)&((struct stringpool_t *)0)->stringpool_str90,
(int)(long)&((struct stringpool_t *)0)->stringpool_str101,
(int)(long)&((struct stringpool_t *)0)->stringpool_str305,
(int)(long)&((struct stringpool_t *)0)->stringpool_str96,
(int)(long)&((struct stringpool_t *)0)->stringpool_str245,
(int)(long)&((struct stringpool_t *)0)->stringpool_str233,
(int)(long)&((struct stringpool_t *)0)->stringpool_str342,
(int)(long)&((struct stringpool_t *)0)->stringpool_str187,
(int)(long)&((struct stringpool_t *)0)->stringpool_str490,
(int)(long)&((struct stringpool_t *)0)->stringpool_str725,
(int)(long)&((struct stringpool_t *)0)->stringpool_str761,
(int)(long)&((struct stringpool_t *)0)->stringpool_str711,
(int)(long)&((struct stringpool_t *)0)->stringpool_str226,
(int)(long)&((struct stringpool_t *)0)->stringpool_str246,
(int)(long)&((struct stringpool_t *)0)->stringpool_str219,
(int)(long)&((struct stringpool_t *)0)->stringpool_str276,
(int)(long)&((struct stringpool_t *)0)->stringpool_str553,
(int)(long)&((struct stringpool_t *)0)->stringpool_str853,
(int)(long)&((struct stringpool_t *)0)->stringpool_str67,
(int)(long)&((struct stringpool_t *)0)->stringpool_str671,
(int)(long)&((struct stringpool_t *)0)->stringpool_str623,
(int)(long)&((struct stringpool_t *)0)->stringpool_str637,
(int)(long)&((struct stringpool_t *)0)->stringpool_str633,
(int)(long)&((struct stringpool_t *)0)->stringpool_str81,
(int)(long)&((struct stringpool_t *)0)->stringpool_str466,
(int)(long)&((struct stringpool_t *)0)->stringpool_str45,
(int)(long)&((struct stringpool_t *)0)->stringpool_str254,
(int)(long)&((struct stringpool_t *)0)->stringpool_str199,
(int)(long)&((struct stringpool_t *)0)->stringpool_str318,
(int)(long)&((struct stringpool_t *)0)->stringpool_str48,
(int)(long)&((struct stringpool_t *)0)->stringpool_str569,
(int)(long)&((struct stringpool_t *)0)->stringpool_str286,
(int)(long)&((struct stringpool_t *)0)->stringpool_str108,
(int)(long)&((struct stringpool_t *)0)->stringpool_str719,
(int)(long)&((struct stringpool_t *)0)->stringpool_str721,
(int)(long)&((struct stringpool_t *)0)->stringpool_str728,
(int)(long)&((struct stringpool_t *)0)->stringpool_str555,
(int)(long)&((struct stringpool_t *)0)->stringpool_str272,
(int)(long)&((struct stringpool_t *)0)->stringpool_str16,
(int)(long)&((struct stringpool_t *)0)->stringpool_str814,
(int)(long)&((struct stringpool_t *)0)->stringpool_str390,

View File

@ -0,0 +1,111 @@
(int)(long)&((struct stringpool_t *)0)->stringpool_str396,
(int)(long)&((struct stringpool_t *)0)->stringpool_str355,
(int)(long)&((struct stringpool_t *)0)->stringpool_str293,
(int)(long)&((struct stringpool_t *)0)->stringpool_str499,
(int)(long)&((struct stringpool_t *)0)->stringpool_str345,
(int)(long)&((struct stringpool_t *)0)->stringpool_str267,
(int)(long)&((struct stringpool_t *)0)->stringpool_str486,
(int)(long)&((struct stringpool_t *)0)->stringpool_str332,
(int)(long)&((struct stringpool_t *)0)->stringpool_str322,
(int)(long)&((struct stringpool_t *)0)->stringpool_str553,
(int)(long)&((struct stringpool_t *)0)->stringpool_str399,
(int)(long)&((struct stringpool_t *)0)->stringpool_str430,
(int)(long)&((struct stringpool_t *)0)->stringpool_str636,
(int)(long)&((struct stringpool_t *)0)->stringpool_str482,
(int)(long)&((struct stringpool_t *)0)->stringpool_str495,
(int)(long)&((struct stringpool_t *)0)->stringpool_str503,
(int)(long)&((struct stringpool_t *)0)->stringpool_str500,
(int)(long)&((struct stringpool_t *)0)->stringpool_str490,
(int)(long)&((struct stringpool_t *)0)->stringpool_str487,
(int)(long)&((struct stringpool_t *)0)->stringpool_str110,
(int)(long)&((struct stringpool_t *)0)->stringpool_str639,
(int)(long)&((struct stringpool_t *)0)->stringpool_str114,
(int)(long)&((struct stringpool_t *)0)->stringpool_str178,
(int)(long)&((struct stringpool_t *)0)->stringpool_str230,
(int)(long)&((struct stringpool_t *)0)->stringpool_str152,
(int)(long)&((struct stringpool_t *)0)->stringpool_str142,
(int)(long)&((struct stringpool_t *)0)->stringpool_str128,
(int)(long)&((struct stringpool_t *)0)->stringpool_str306,
(int)(long)&((struct stringpool_t *)0)->stringpool_str166,
(int)(long)&((struct stringpool_t *)0)->stringpool_str112,
(int)(long)&((struct stringpool_t *)0)->stringpool_str223,
(int)(long)&((struct stringpool_t *)0)->stringpool_str119,
(int)(long)&((struct stringpool_t *)0)->stringpool_str235,
(int)(long)&((struct stringpool_t *)0)->stringpool_str157,
(int)(long)&((struct stringpool_t *)0)->stringpool_str147,
(int)(long)&((struct stringpool_t *)0)->stringpool_str133,
(int)(long)&((struct stringpool_t *)0)->stringpool_str100,
(int)(long)&((struct stringpool_t *)0)->stringpool_str516,
(int)(long)&((struct stringpool_t *)0)->stringpool_str519,
(int)(long)&((struct stringpool_t *)0)->stringpool_str277,
(int)(long)&((struct stringpool_t *)0)->stringpool_str173,
(int)(long)&((struct stringpool_t *)0)->stringpool_str237,
(int)(long)&((struct stringpool_t *)0)->stringpool_str289,
(int)(long)&((struct stringpool_t *)0)->stringpool_str211,
(int)(long)&((struct stringpool_t *)0)->stringpool_str201,
(int)(long)&((struct stringpool_t *)0)->stringpool_str187,
(int)(long)&((struct stringpool_t *)0)->stringpool_str365,
(int)(long)&((struct stringpool_t *)0)->stringpool_str225,
(int)(long)&((struct stringpool_t *)0)->stringpool_str266,
(int)(long)&((struct stringpool_t *)0)->stringpool_str219,
(int)(long)&((struct stringpool_t *)0)->stringpool_str169,
(int)(long)&((struct stringpool_t *)0)->stringpool_str185,
(int)(long)&((struct stringpool_t *)0)->stringpool_str515,
(int)(long)&((struct stringpool_t *)0)->stringpool_str731,
(int)(long)&((struct stringpool_t *)0)->stringpool_str501,
(int)(long)&((struct stringpool_t *)0)->stringpool_str696,
(int)(long)&((struct stringpool_t *)0)->stringpool_str626,
(int)(long)&((struct stringpool_t *)0)->stringpool_str610,
(int)(long)&((struct stringpool_t *)0)->stringpool_str680,
(int)(long)&((struct stringpool_t *)0)->stringpool_str518,
(int)(long)&((struct stringpool_t *)0)->stringpool_str1033,
(int)(long)&((struct stringpool_t *)0)->stringpool_str986,
(int)(long)&((struct stringpool_t *)0)->stringpool_str760,
(int)(long)&((struct stringpool_t *)0)->stringpool_str655,
(int)(long)&((struct stringpool_t *)0)->stringpool_str479,
(int)(long)&((struct stringpool_t *)0)->stringpool_str584,
(int)(long)&((struct stringpool_t *)0)->stringpool_str393,
(int)(long)&((struct stringpool_t *)0)->stringpool_str436,
(int)(long)&((struct stringpool_t *)0)->stringpool_str273,
(int)(long)&((struct stringpool_t *)0)->stringpool_str418,
(int)(long)&((struct stringpool_t *)0)->stringpool_str76,
(int)(long)&((struct stringpool_t *)0)->stringpool_str151,
(int)(long)&((struct stringpool_t *)0)->stringpool_str305,
(int)(long)&((struct stringpool_t *)0)->stringpool_str301,
(int)(long)&((struct stringpool_t *)0)->stringpool_str333,
(int)(long)&((struct stringpool_t *)0)->stringpool_str282,
(int)(long)&((struct stringpool_t *)0)->stringpool_str256,
(int)(long)&((struct stringpool_t *)0)->stringpool_str337,
(int)(long)&((struct stringpool_t *)0)->stringpool_str653,
(int)(long)&((struct stringpool_t *)0)->stringpool_str738,
(int)(long)&((struct stringpool_t *)0)->stringpool_str790,
(int)(long)&((struct stringpool_t *)0)->stringpool_str750,
(int)(long)&((struct stringpool_t *)0)->stringpool_str302,
(int)(long)&((struct stringpool_t *)0)->stringpool_str373,
(int)(long)&((struct stringpool_t *)0)->stringpool_str81,
(int)(long)&((struct stringpool_t *)0)->stringpool_str260,
(int)(long)&((struct stringpool_t *)0)->stringpool_str525,
(int)(long)&((struct stringpool_t *)0)->stringpool_str644,
(int)(long)&((struct stringpool_t *)0)->stringpool_str243,
(int)(long)&((struct stringpool_t *)0)->stringpool_str571,
(int)(long)&((struct stringpool_t *)0)->stringpool_str574,
(int)(long)&((struct stringpool_t *)0)->stringpool_str606,
(int)(long)&((struct stringpool_t *)0)->stringpool_str575,
(int)(long)&((struct stringpool_t *)0)->stringpool_str281,
(int)(long)&((struct stringpool_t *)0)->stringpool_str191,
(int)(long)&((struct stringpool_t *)0)->stringpool_str193,
(int)(long)&((struct stringpool_t *)0)->stringpool_str349,
(int)(long)&((struct stringpool_t *)0)->stringpool_str327,
(int)(long)&((struct stringpool_t *)0)->stringpool_str474,
(int)(long)&((struct stringpool_t *)0)->stringpool_str176,
(int)(long)&((struct stringpool_t *)0)->stringpool_str621,
(int)(long)&((struct stringpool_t *)0)->stringpool_str288,
(int)(long)&((struct stringpool_t *)0)->stringpool_str239,
(int)(long)&((struct stringpool_t *)0)->stringpool_str734,
(int)(long)&((struct stringpool_t *)0)->stringpool_str735,
(int)(long)&((struct stringpool_t *)0)->stringpool_str754,
(int)(long)&((struct stringpool_t *)0)->stringpool_str615,
(int)(long)&((struct stringpool_t *)0)->stringpool_str203,
(int)(long)&((struct stringpool_t *)0)->stringpool_str138,
(int)(long)&((struct stringpool_t *)0)->stringpool_str951,
(int)(long)&((struct stringpool_t *)0)->stringpool_str249,

View File

@ -0,0 +1,111 @@
(int)(long)&((struct stringpool_t *)0)->stringpool_str453,
(int)(long)&((struct stringpool_t *)0)->stringpool_str308,
(int)(long)&((struct stringpool_t *)0)->stringpool_str319,
(int)(long)&((struct stringpool_t *)0)->stringpool_str586,
(int)(long)&((struct stringpool_t *)0)->stringpool_str346,
(int)(long)&((struct stringpool_t *)0)->stringpool_str283,
(int)(long)&((struct stringpool_t *)0)->stringpool_str568,
(int)(long)&((struct stringpool_t *)0)->stringpool_str328,
(int)(long)&((struct stringpool_t *)0)->stringpool_str280,
(int)(long)&((struct stringpool_t *)0)->stringpool_str575,
(int)(long)&((struct stringpool_t *)0)->stringpool_str335,
(int)(long)&((struct stringpool_t *)0)->stringpool_str431,
(int)(long)&((struct stringpool_t *)0)->stringpool_str698,
(int)(long)&((struct stringpool_t *)0)->stringpool_str458,
(int)(long)&((struct stringpool_t *)0)->stringpool_str608,
(int)(long)&((struct stringpool_t *)0)->stringpool_str381,
(int)(long)&((struct stringpool_t *)0)->stringpool_str911,
(int)(long)&((struct stringpool_t *)0)->stringpool_str363,
(int)(long)&((struct stringpool_t *)0)->stringpool_str893,
(int)(long)&((struct stringpool_t *)0)->stringpool_str64,
(int)(long)&((struct stringpool_t *)0)->stringpool_str664,
(int)(long)&((struct stringpool_t *)0)->stringpool_str134,
(int)(long)&((struct stringpool_t *)0)->stringpool_str186,
(int)(long)&((struct stringpool_t *)0)->stringpool_str324,
(int)(long)&((struct stringpool_t *)0)->stringpool_str150,
(int)(long)&((struct stringpool_t *)0)->stringpool_str154,
(int)(long)&((struct stringpool_t *)0)->stringpool_str130,
(int)(long)&((struct stringpool_t *)0)->stringpool_str466,
(int)(long)&((struct stringpool_t *)0)->stringpool_str166,
(int)(long)&((struct stringpool_t *)0)->stringpool_str170,
(int)(long)&((struct stringpool_t *)0)->stringpool_str322,
(int)(long)&((struct stringpool_t *)0)->stringpool_str142,
(int)(long)&((struct stringpool_t *)0)->stringpool_str332,
(int)(long)&((struct stringpool_t *)0)->stringpool_str158,
(int)(long)&((struct stringpool_t *)0)->stringpool_str162,
(int)(long)&((struct stringpool_t *)0)->stringpool_str138,
(int)(long)&((struct stringpool_t *)0)->stringpool_str203,
(int)(long)&((struct stringpool_t *)0)->stringpool_str663,
(int)(long)&((struct stringpool_t *)0)->stringpool_str669,
(int)(long)&((struct stringpool_t *)0)->stringpool_str268,
(int)(long)&((struct stringpool_t *)0)->stringpool_str88,
(int)(long)&((struct stringpool_t *)0)->stringpool_str140,
(int)(long)&((struct stringpool_t *)0)->stringpool_str278,
(int)(long)&((struct stringpool_t *)0)->stringpool_str104,
(int)(long)&((struct stringpool_t *)0)->stringpool_str108,
(int)(long)&((struct stringpool_t *)0)->stringpool_str84,
(int)(long)&((struct stringpool_t *)0)->stringpool_str420,
(int)(long)&((struct stringpool_t *)0)->stringpool_str120,
(int)(long)&((struct stringpool_t *)0)->stringpool_str250,
(int)(long)&((struct stringpool_t *)0)->stringpool_str110,
(int)(long)&((struct stringpool_t *)0)->stringpool_str54,
(int)(long)&((struct stringpool_t *)0)->stringpool_str147,
(int)(long)&((struct stringpool_t *)0)->stringpool_str476,
(int)(long)&((struct stringpool_t *)0)->stringpool_str463,
(int)(long)&((struct stringpool_t *)0)->stringpool_str430,
(int)(long)&((struct stringpool_t *)0)->stringpool_str562,
(int)(long)&((struct stringpool_t *)0)->stringpool_str813,
(int)(long)&((struct stringpool_t *)0)->stringpool_str225,
(int)(long)&((struct stringpool_t *)0)->stringpool_str777,
(int)(long)&((struct stringpool_t *)0)->stringpool_str541,
(int)(long)&((struct stringpool_t *)0)->stringpool_str648,
(int)(long)&((struct stringpool_t *)0)->stringpool_str848,
(int)(long)&((struct stringpool_t *)0)->stringpool_str769,
(int)(long)&((struct stringpool_t *)0)->stringpool_str389,
(int)(long)&((struct stringpool_t *)0)->stringpool_str407,
(int)(long)&((struct stringpool_t *)0)->stringpool_str561,
(int)(long)&((struct stringpool_t *)0)->stringpool_str391,
(int)(long)&((struct stringpool_t *)0)->stringpool_str455,
(int)(long)&((struct stringpool_t *)0)->stringpool_str396,
(int)(long)&((struct stringpool_t *)0)->stringpool_str253,
(int)(long)&((struct stringpool_t *)0)->stringpool_str173,
(int)(long)&((struct stringpool_t *)0)->stringpool_str176,
(int)(long)&((struct stringpool_t *)0)->stringpool_str375,
(int)(long)&((struct stringpool_t *)0)->stringpool_str337,
(int)(long)&((struct stringpool_t *)0)->stringpool_str282,
(int)(long)&((struct stringpool_t *)0)->stringpool_str242,
(int)(long)&((struct stringpool_t *)0)->stringpool_str228,
(int)(long)&((struct stringpool_t *)0)->stringpool_str233,
(int)(long)&((struct stringpool_t *)0)->stringpool_str367,
(int)(long)&((struct stringpool_t *)0)->stringpool_str628,
(int)(long)&((struct stringpool_t *)0)->stringpool_str660,
(int)(long)&((struct stringpool_t *)0)->stringpool_str590,
(int)(long)&((struct stringpool_t *)0)->stringpool_str345,
(int)(long)&((struct stringpool_t *)0)->stringpool_str442,
(int)(long)&((struct stringpool_t *)0)->stringpool_str89,
(int)(long)&((struct stringpool_t *)0)->stringpool_str311,
(int)(long)&((struct stringpool_t *)0)->stringpool_str414,
(int)(long)&((struct stringpool_t *)0)->stringpool_str237,
(int)(long)&((struct stringpool_t *)0)->stringpool_str209,
(int)(long)&((struct stringpool_t *)0)->stringpool_str596,
(int)(long)&((struct stringpool_t *)0)->stringpool_str491,
(int)(long)&((struct stringpool_t *)0)->stringpool_str517,
(int)(long)&((struct stringpool_t *)0)->stringpool_str493,
(int)(long)&((struct stringpool_t *)0)->stringpool_str72,
(int)(long)&((struct stringpool_t *)0)->stringpool_str338,
(int)(long)&((struct stringpool_t *)0)->stringpool_str153,
(int)(long)&((struct stringpool_t *)0)->stringpool_str459,
(int)(long)&((struct stringpool_t *)0)->stringpool_str254,
(int)(long)&((struct stringpool_t *)0)->stringpool_str281,
(int)(long)&((struct stringpool_t *)0)->stringpool_str49,
(int)(long)&((struct stringpool_t *)0)->stringpool_str441,
(int)(long)&((struct stringpool_t *)0)->stringpool_str315,
(int)(long)&((struct stringpool_t *)0)->stringpool_str252,
(int)(long)&((struct stringpool_t *)0)->stringpool_str846,
(int)(long)&((struct stringpool_t *)0)->stringpool_str828,
(int)(long)&((struct stringpool_t *)0)->stringpool_str836,
(int)(long)&((struct stringpool_t *)0)->stringpool_str526,
(int)(long)&((struct stringpool_t *)0)->stringpool_str210,
(int)(long)&((struct stringpool_t *)0)->stringpool_str106,
(int)(long)&((struct stringpool_t *)0)->stringpool_str837,
(int)(long)&((struct stringpool_t *)0)->stringpool_str392,

View File

@ -0,0 +1,111 @@
(int)(long)&((struct stringpool_t *)0)->stringpool_str239,
(int)(long)&((struct stringpool_t *)0)->stringpool_str275,
(int)(long)&((struct stringpool_t *)0)->stringpool_str218,
(int)(long)&((struct stringpool_t *)0)->stringpool_str532,
(int)(long)&((struct stringpool_t *)0)->stringpool_str517,
(int)(long)&((struct stringpool_t *)0)->stringpool_str264,
(int)(long)&((struct stringpool_t *)0)->stringpool_str555,
(int)(long)&((struct stringpool_t *)0)->stringpool_str540,
(int)(long)&((struct stringpool_t *)0)->stringpool_str272,
(int)(long)&((struct stringpool_t *)0)->stringpool_str591,
(int)(long)&((struct stringpool_t *)0)->stringpool_str576,
(int)(long)&((struct stringpool_t *)0)->stringpool_str365,
(int)(long)&((struct stringpool_t *)0)->stringpool_str679,
(int)(long)&((struct stringpool_t *)0)->stringpool_str664,
(int)(long)&((struct stringpool_t *)0)->stringpool_str603,
(int)(long)&((struct stringpool_t *)0)->stringpool_str530,
(int)(long)&((struct stringpool_t *)0)->stringpool_str797,
(int)(long)&((struct stringpool_t *)0)->stringpool_str553,
(int)(long)&((struct stringpool_t *)0)->stringpool_str820,
(int)(long)&((struct stringpool_t *)0)->stringpool_str19,
(int)(long)&((struct stringpool_t *)0)->stringpool_str330,
(int)(long)&((struct stringpool_t *)0)->stringpool_str61,
(int)(long)&((struct stringpool_t *)0)->stringpool_str73,
(int)(long)&((struct stringpool_t *)0)->stringpool_str227,
(int)(long)&((struct stringpool_t *)0)->stringpool_str119,
(int)(long)&((struct stringpool_t *)0)->stringpool_str65,
(int)(long)&((struct stringpool_t *)0)->stringpool_str63,
(int)(long)&((struct stringpool_t *)0)->stringpool_str397,
(int)(long)&((struct stringpool_t *)0)->stringpool_str69,
(int)(long)&((struct stringpool_t *)0)->stringpool_str71,
(int)(long)&((struct stringpool_t *)0)->stringpool_str128,
(int)(long)&((struct stringpool_t *)0)->stringpool_str64,
(int)(long)&((struct stringpool_t *)0)->stringpool_str230,
(int)(long)&((struct stringpool_t *)0)->stringpool_str122,
(int)(long)&((struct stringpool_t *)0)->stringpool_str68,
(int)(long)&((struct stringpool_t *)0)->stringpool_str66,
(int)(long)&((struct stringpool_t *)0)->stringpool_str207,
(int)(long)&((struct stringpool_t *)0)->stringpool_str373,
(int)(long)&((struct stringpool_t *)0)->stringpool_str414,
(int)(long)&((struct stringpool_t *)0)->stringpool_str90,
(int)(long)&((struct stringpool_t *)0)->stringpool_str26,
(int)(long)&((struct stringpool_t *)0)->stringpool_str38,
(int)(long)&((struct stringpool_t *)0)->stringpool_str192,
(int)(long)&((struct stringpool_t *)0)->stringpool_str84,
(int)(long)&((struct stringpool_t *)0)->stringpool_str30,
(int)(long)&((struct stringpool_t *)0)->stringpool_str28,
(int)(long)&((struct stringpool_t *)0)->stringpool_str362,
(int)(long)&((struct stringpool_t *)0)->stringpool_str34,
(int)(long)&((struct stringpool_t *)0)->stringpool_str85,
(int)(long)&((struct stringpool_t *)0)->stringpool_str32,
(int)(long)&((struct stringpool_t *)0)->stringpool_str22,
(int)(long)&((struct stringpool_t *)0)->stringpool_str101,
(int)(long)&((struct stringpool_t *)0)->stringpool_str372,
(int)(long)&((struct stringpool_t *)0)->stringpool_str644,
(int)(long)&((struct stringpool_t *)0)->stringpool_str494,
(int)(long)&((struct stringpool_t *)0)->stringpool_str290,
(int)(long)&((struct stringpool_t *)0)->stringpool_str424,
(int)(long)&((struct stringpool_t *)0)->stringpool_str509,
(int)(long)&((struct stringpool_t *)0)->stringpool_str609,
(int)(long)&((struct stringpool_t *)0)->stringpool_str653,
(int)(long)&((struct stringpool_t *)0)->stringpool_str751,
(int)(long)&((struct stringpool_t *)0)->stringpool_str956,
(int)(long)&((struct stringpool_t *)0)->stringpool_str416,
(int)(long)&((struct stringpool_t *)0)->stringpool_str328,
(int)(long)&((struct stringpool_t *)0)->stringpool_str364,
(int)(long)&((struct stringpool_t *)0)->stringpool_str678,
(int)(long)&((struct stringpool_t *)0)->stringpool_str270,
(int)(long)&((struct stringpool_t *)0)->stringpool_str329,
(int)(long)&((struct stringpool_t *)0)->stringpool_str558,
(int)(long)&((struct stringpool_t *)0)->stringpool_str183,
(int)(long)&((struct stringpool_t *)0)->stringpool_str212,
(int)(long)&((struct stringpool_t *)0)->stringpool_str125,
(int)(long)&((struct stringpool_t *)0)->stringpool_str570,
(int)(long)&((struct stringpool_t *)0)->stringpool_str267,
(int)(long)&((struct stringpool_t *)0)->stringpool_str188,
(int)(long)&((struct stringpool_t *)0)->stringpool_str245,
(int)(long)&((struct stringpool_t *)0)->stringpool_str184,
(int)(long)&((struct stringpool_t *)0)->stringpool_str146,
(int)(long)&((struct stringpool_t *)0)->stringpool_str400,
(int)(long)&((struct stringpool_t *)0)->stringpool_str593,
(int)(long)&((struct stringpool_t *)0)->stringpool_str601,
(int)(long)&((struct stringpool_t *)0)->stringpool_str573,
(int)(long)&((struct stringpool_t *)0)->stringpool_str295,
(int)(long)&((struct stringpool_t *)0)->stringpool_str377,
(int)(long)&((struct stringpool_t *)0)->stringpool_str89,
(int)(long)&((struct stringpool_t *)0)->stringpool_str240,
(int)(long)&((struct stringpool_t *)0)->stringpool_str542,
(int)(long)&((struct stringpool_t *)0)->stringpool_str608,
(int)(long)&((struct stringpool_t *)0)->stringpool_str115,
(int)(long)&((struct stringpool_t *)0)->stringpool_str539,
(int)(long)&((struct stringpool_t *)0)->stringpool_str404,
(int)(long)&((struct stringpool_t *)0)->stringpool_str410,
(int)(long)&((struct stringpool_t *)0)->stringpool_str467,
(int)(long)&((struct stringpool_t *)0)->stringpool_str106,
(int)(long)&((struct stringpool_t *)0)->stringpool_str307,
(int)(long)&((struct stringpool_t *)0)->stringpool_str105,
(int)(long)&((struct stringpool_t *)0)->stringpool_str300,
(int)(long)&((struct stringpool_t *)0)->stringpool_str103,
(int)(long)&((struct stringpool_t *)0)->stringpool_str131,
(int)(long)&((struct stringpool_t *)0)->stringpool_str124,
(int)(long)&((struct stringpool_t *)0)->stringpool_str448,
(int)(long)&((struct stringpool_t *)0)->stringpool_str274,
(int)(long)&((struct stringpool_t *)0)->stringpool_str86,
(int)(long)&((struct stringpool_t *)0)->stringpool_str841,
(int)(long)&((struct stringpool_t *)0)->stringpool_str836,
(int)(long)&((struct stringpool_t *)0)->stringpool_str865,
(int)(long)&((struct stringpool_t *)0)->stringpool_str701,
(int)(long)&((struct stringpool_t *)0)->stringpool_str279,
(int)(long)&((struct stringpool_t *)0)->stringpool_str59,
(int)(long)&((struct stringpool_t *)0)->stringpool_str645,
(int)(long)&((struct stringpool_t *)0)->stringpool_str276,

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2001 Free Software Foundation, Inc. * Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -23,7 +22,7 @@
*/ */
static int static int
ces_big5_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) ces_big5_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
/* Code set 0 (ASCII) */ /* Code set 0 (ASCII) */
@ -45,7 +44,7 @@ ces_big5_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n)
} }
static int static int
ces_big5_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) ces_big5_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char buf[2]; unsigned char buf[2];
int ret; int ret;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2001, 2005 Free Software Foundation, Inc. * Copyright (C) 1999-2001, 2005, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -23,7 +22,7 @@
*/ */
static int static int
ces_gbk_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) ces_gbk_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
@ -40,7 +39,7 @@ ces_gbk_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n)
} }
static int static int
ces_gbk_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) ces_gbk_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char buf[2]; unsigned char buf[2];
int ret; int ret;

View File

@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*

View File

@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2005 Free Software Foundation, Inc. * Copyright (C) 1999-2005, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -854,7 +853,7 @@ static const unsigned short cns11643_1_2uni_page44[5401] = {
}; };
static int static int
cns11643_1_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cns11643_1_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c1 = s[0]; unsigned char c1 = s[0];
if ((c1 >= 0x21 && c1 <= 0x27) || (c1 == 0x42) || (c1 >= 0x44 && c1 <= 0x7d)) { if ((c1 >= 0x21 && c1 <= 0x27) || (c1 == 0x42) || (c1 >= 0x44 && c1 <= 0x7d)) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2002 Free Software Foundation, Inc. * Copyright (C) 1999-2002, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -1054,7 +1053,7 @@ static const ucs4_t cns11643_15_2uni_upages[253] = {
}; };
static int static int
cns11643_15_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cns11643_15_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c1 = s[0]; unsigned char c1 = s[0];
if ((c1 >= 0x21 && c1 <= 0x6d)) { if ((c1 >= 0x21 && c1 <= 0x6d)) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2001 Free Software Foundation, Inc. * Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -1085,7 +1084,7 @@ static const unsigned short cns11643_2_2uni_page21[7650] = {
}; };
static int static int
cns11643_2_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cns11643_2_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c1 = s[0]; unsigned char c1 = s[0];
if ((c1 >= 0x21 && c1 <= 0x72)) { if ((c1 >= 0x21 && c1 <= 0x72)) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2002 Free Software Foundation, Inc. * Copyright (C) 1999-2002, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -941,7 +940,7 @@ static const ucs4_t cns11643_3_2uni_upages[136] = {
}; };
static int static int
cns11643_3_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cns11643_3_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c1 = s[0]; unsigned char c1 = s[0];
if ((c1 >= 0x21 && c1 <= 0x62) || (c1 >= 0x64 && c1 <= 0x67)) { if ((c1 >= 0x21 && c1 <= 0x62) || (c1 >= 0x64 && c1 <= 0x67)) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2001 Free Software Foundation, Inc. * Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -30,7 +29,7 @@
#include "cns11643_4b.h" #include "cns11643_4b.h"
static int static int
cns11643_4_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cns11643_4_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c1 = s[0]; unsigned char c1 = s[0];
if ((c1 >= 0x21 && c1 <= 0x6e)) { if ((c1 >= 0x21 && c1 <= 0x6e)) {

View File

@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*

View File

@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2002 Free Software Foundation, Inc. * Copyright (C) 1999-2002, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -1249,7 +1248,7 @@ static const ucs4_t cns11643_5_2uni_upages[229] = {
}; };
static int static int
cns11643_5_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cns11643_5_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c1 = s[0]; unsigned char c1 = s[0];
if ((c1 >= 0x21 && c1 <= 0x7c)) { if ((c1 >= 0x21 && c1 <= 0x7c)) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2002 Free Software Foundation, Inc. * Copyright (C) 1999-2002, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -939,7 +938,7 @@ static const ucs4_t cns11643_6_2uni_upages[204] = {
}; };
static int static int
cns11643_6_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cns11643_6_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c1 = s[0]; unsigned char c1 = s[0];
if ((c1 >= 0x21 && c1 <= 0x64)) { if ((c1 >= 0x21 && c1 <= 0x64)) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2002 Free Software Foundation, Inc. * Copyright (C) 1999-2002, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -959,7 +958,7 @@ static const ucs4_t cns11643_7_2uni_upages[198] = {
}; };
static int static int
cns11643_7_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cns11643_7_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c1 = s[0]; unsigned char c1 = s[0];
if ((c1 >= 0x21 && c1 <= 0x66)) { if ((c1 >= 0x21 && c1 <= 0x66)) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2005 Free Software Foundation, Inc. * Copyright (C) 1999-2005, 2012, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -15366,7 +15365,7 @@ static const Summary16 cns11643_inv_uni2indx_page2f8[34] = {
}; };
static int static int
cns11643_inv_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) cns11643_inv_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
if (n >= 2) { if (n >= 2) {
const Summary16 *summary = NULL; const Summary16 *summary = NULL;
@ -15392,9 +15391,9 @@ cns11643_inv_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
unsigned short used = summary->used; unsigned short used = summary->used;
unsigned int i = wc & 0x0f; unsigned int i = wc & 0x0f;
if (used & ((unsigned short) 1 << i)) { if (used & ((unsigned short) 1 << i)) {
/* Keep in `used' only the bits 0..i-1. */ /* Keep in 'used' only the bits 0..i-1. */
used &= ((unsigned short) 1 << i) - 1; used &= ((unsigned short) 1 << i) - 1;
/* Add `summary->indx' and the number of bits set in `used'. */ /* Add 'summary->indx' and the number of bits set in 'used'. */
used = (used & 0x5555) + ((used & 0xaaaa) >> 1); used = (used & 0x5555) + ((used & 0xaaaa) >> 1);
used = (used & 0x3333) + ((used & 0xcccc) >> 2); used = (used & 0x3333) + ((used & 0xcccc) >> 2);
used = (used & 0x0f0f) + ((used & 0xf0f0) >> 4); used = (used & 0x0f0f) + ((used & 0xf0f0) >> 4);

82
3rdparty/libiconv/1.15/lib/config.h.in vendored Normal file
View File

@ -0,0 +1,82 @@
/* Copyright (C) 1999-2003, 2005, 2007, 2010, 2012 Free Software Foundation, Inc.
This file is part of the GNU LIBICONV Library.
The GNU LIBICONV Library is free software; you can redistribute it
and/or modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
The GNU LIBICONV Library is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with the GNU LIBICONV Library; see the file COPYING.LIB.
If not, see <http://www.gnu.org/licenses/>. */
/* Define to 1 to enable a few rarely used encodings. */
#undef ENABLE_EXTRA
/* Define to 1 if the package shall run at any location in the filesystem. */
#undef ENABLE_RELOCATABLE
/* Define to a type if <wchar.h> does not define. */
#undef mbstate_t
/* Define if you have <iconv.h>, the iconv_t type, and the
iconv_open, iconv, iconv_close functions. */
#undef HAVE_ICONV
/* Define as const if the declaration of iconv() needs const. */
#define ICONV_CONST /* empty by default */
/* Define to 1 if you have the getc_unlocked() function. */
#undef HAVE_GETC_UNLOCKED
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
#undef HAVE_LANGINFO_CODESET
/* Define if you have the mbrtowc() function. */
#undef HAVE_MBRTOWC
/* Define to 1 if you have the setlocale() function. */
#undef HAVE_SETLOCALE
/* Define to 1 if you have the <stddef.h> header file. */
#undef HAVE_STDDEF_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 or 0, depending whether the compiler supports simple visibility
declarations. */
#undef HAVE_VISIBILITY
/* Define if you have the wcrtomb() function. */
#undef HAVE_WCRTOMB
/* Define to 1 if O_NOFOLLOW works. */
#undef HAVE_WORKING_O_NOFOLLOW
/* Define if the machine's byte ordering is little endian. */
#undef WORDS_LITTLEENDIAN
/* Define to the value of ${prefix}, as a string. */
#undef INSTALLPREFIX
/* Define to '__inline__' or '__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
#undef inline
#endif
/* Define to 'int' if <sys/types.h> does not define. */
#undef mode_t
/* Define as a signed type of the same size as size_t. */
#undef ssize_t

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2002, 2004-2010 Free Software Foundation, Inc. * Copyright (C) 1999-2002, 2004-2011, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* This file defines all the converters. */ /* This file defines all the converters. */
@ -34,14 +33,16 @@ typedef struct conv_struct * conv_t;
* Data type for conversion multibyte -> unicode * Data type for conversion multibyte -> unicode
*/ */
struct mbtowc_funcs { struct mbtowc_funcs {
int (*xxx_mbtowc) (conv_t conv, ucs4_t *pwc, unsigned char const *s, int n); int (*xxx_mbtowc) (conv_t conv, ucs4_t *pwc, unsigned char const *s, size_t n);
/* /*
* int xxx_mbtowc (conv_t conv, ucs4_t *pwc, unsigned char const *s, int n) * int xxx_mbtowc (conv_t conv, ucs4_t *pwc, unsigned char const *s, size_t n)
* converts the byte sequence starting at s to a wide character. Up to n bytes * converts the byte sequence starting at s to a wide character. Up to n bytes
* are available at s. n is >= 1. * are available at s. n is >= 1.
* Result is number of bytes consumed (if a wide character was read), * Result is number of bytes consumed (if a wide character was read),
* or -1 if invalid, or -2 if n too small, or -2-(number of bytes consumed) * or -1 if invalid, or -2 if n too small,
* if only a shift sequence was read. * or RET_SHIFT_ILSEQ(number of bytes consumed) if invalid input after a shift
* sequence was read,
* or RET_TOOFEW(number of bytes consumed) if only a shift sequence was read.
*/ */
int (*xxx_flushwc) (conv_t conv, ucs4_t *pwc); int (*xxx_flushwc) (conv_t conv, ucs4_t *pwc);
/* /*
@ -61,21 +62,23 @@ struct mbtowc_funcs {
/* Retrieve the n from the encoded RET_... value. */ /* Retrieve the n from the encoded RET_... value. */
#define DECODE_SHIFT_ILSEQ(r) ((unsigned int)(RET_SHIFT_ILSEQ(0) - (r)) / 2) #define DECODE_SHIFT_ILSEQ(r) ((unsigned int)(RET_SHIFT_ILSEQ(0) - (r)) / 2)
#define DECODE_TOOFEW(r) ((unsigned int)(RET_TOOFEW(0) - (r)) / 2) #define DECODE_TOOFEW(r) ((unsigned int)(RET_TOOFEW(0) - (r)) / 2)
/* Maximum value of n that may be used as argument to RET_SHIFT_ILSEQ or RET_TOOFEW. */
#define RET_COUNT_MAX ((INT_MAX / 2) - 1)
/* /*
* Data type for conversion unicode -> multibyte * Data type for conversion unicode -> multibyte
*/ */
struct wctomb_funcs { struct wctomb_funcs {
int (*xxx_wctomb) (conv_t conv, unsigned char *r, ucs4_t wc, int n); int (*xxx_wctomb) (conv_t conv, unsigned char *r, ucs4_t wc, size_t n);
/* /*
* int xxx_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) * int xxx_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
* converts the wide character wc to the character set xxx, and stores the * converts the wide character wc to the character set xxx, and stores the
* result beginning at r. Up to n bytes may be written at r. n is >= 1. * result beginning at r. Up to n bytes may be written at r. n is >= 1.
* Result is number of bytes written, or -1 if invalid, or -2 if n too small. * Result is number of bytes written, or -1 if invalid, or -2 if n too small.
*/ */
int (*xxx_reset) (conv_t conv, unsigned char *r, int n); int (*xxx_reset) (conv_t conv, unsigned char *r, size_t n);
/* /*
* int xxx_reset (conv_t conv, unsigned char *r, int n) * int xxx_reset (conv_t conv, unsigned char *r, size_t n)
* stores a shift sequences returning to the initial state beginning at r. * stores a shift sequences returning to the initial state beginning at r.
* Up to n bytes may be written at r. n is >= 0. * Up to n bytes may be written at r. n is >= 0.
* Result is number of bytes written, or -2 if n too small. * Result is number of bytes written, or -2 if n too small.
@ -228,6 +231,7 @@ typedef struct {
#include "iso2022_jp.h" #include "iso2022_jp.h"
#include "iso2022_jp1.h" #include "iso2022_jp1.h"
#include "iso2022_jp2.h" #include "iso2022_jp2.h"
#include "iso2022_jpms.h"
#include "euc_cn.h" #include "euc_cn.h"
#include "ces_gbk.h" #include "ces_gbk.h"

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2001 Free Software Foundation, Inc. * Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -50,7 +49,7 @@ static const unsigned short cp1046_2uni[128] = {
}; };
static int static int
cp1046_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cp1046_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
if (c < 0x80) { if (c < 0x80) {
@ -130,7 +129,7 @@ static const unsigned char cp1046_pagefe[144] = {
}; };
static int static int
cp1046_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) cp1046_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char c = 0; unsigned char c = 0;
if (wc < 0x0080) { if (wc < 0x0080) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2001 Free Software Foundation, Inc. * Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -44,7 +43,7 @@ static const unsigned short cp1124_2uni[96] = {
}; };
static int static int
cp1124_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cp1124_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
if (c < 0xa0) if (c < 0xa0)
@ -81,7 +80,7 @@ static const unsigned char cp1124_page04[152] = {
}; };
static int static int
cp1124_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) cp1124_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char c = 0; unsigned char c = 0;
if (wc < 0x00a0) { if (wc < 0x00a0) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2001 Free Software Foundation, Inc. * Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -41,7 +40,7 @@ static const unsigned short cp1125_2uni[80] = {
}; };
static int static int
cp1125_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cp1125_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
if (c < 0x80) if (c < 0x80)
@ -104,7 +103,7 @@ static const unsigned char cp1125_page25[168] = {
}; };
static int static int
cp1125_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) cp1125_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char c = 0; unsigned char c = 0;
if (wc < 0x0080) { if (wc < 0x0080) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2001 Free Software Foundation, Inc. * Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -44,7 +43,7 @@ static const unsigned short cp1129_2uni[96] = {
}; };
static int static int
cp1129_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cp1129_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
if (c < 0xa0) if (c < 0xa0)
@ -100,7 +99,7 @@ static const unsigned char cp1129_page03[40] = {
}; };
static int static int
cp1129_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) cp1129_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char c = 0; unsigned char c = 0;
if (wc < 0x00a8) { if (wc < 0x00a8) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2002 Free Software Foundation, Inc. * Copyright (C) 1999-2002, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -50,7 +49,7 @@ static const unsigned short cp1131_2uni[128] = {
}; };
static int static int
cp1131_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cp1131_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
if (c < 0x80) if (c < 0x80)
@ -109,7 +108,7 @@ static const unsigned char cp1131_page25[152] = {
}; };
static int static int
cp1131_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) cp1131_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char c = 0; unsigned char c = 0;
if (wc < 0x0080) { if (wc < 0x0080) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2001 Free Software Foundation, Inc. * Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -43,7 +42,7 @@ static const unsigned short cp1133_2uni_2[16] = {
}; };
static int static int
cp1133_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cp1133_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
if (c < 0xa0) { if (c < 0xa0) {
@ -89,7 +88,7 @@ static const unsigned char cp1133_page0e[96] = {
}; };
static int static int
cp1133_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) cp1133_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char c = 0; unsigned char c = 0;
if (wc < 0x00a0) { if (wc < 0x00a0) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2002 Free Software Foundation, Inc. * Copyright (C) 1999-2002, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -44,7 +43,7 @@ static const unsigned short cp1161_2uni[96] = {
}; };
static int static int
cp1161_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cp1161_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
if (c < 0x80) { if (c < 0x80) {
@ -66,7 +65,7 @@ static const unsigned char cp1161_page00[16] = {
}; };
static int static int
cp1161_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) cp1161_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char c = 0; unsigned char c = 0;
if (wc < 0x0080) { if (wc < 0x0080) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2002 Free Software Foundation, Inc. * Copyright (C) 1999-2002, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -23,7 +22,7 @@
*/ */
static int static int
cp1162_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cp1162_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
if (c < 0x80) { if (c < 0x80) {
@ -45,7 +44,7 @@ cp1162_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n)
} }
static int static int
cp1162_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) cp1162_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char c = 0; unsigned char c = 0;
if (wc < 0x0080) { if (wc < 0x0080) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2002 Free Software Foundation, Inc. * Copyright (C) 1999-2002, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -23,7 +22,7 @@
*/ */
static int static int
cp1163_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cp1163_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
if (c < 0xa0) if (c < 0xa0)
@ -40,7 +39,7 @@ static const unsigned char cp1163_page20[8] = {
}; };
static int static int
cp1163_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) cp1163_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char c = 0; unsigned char c = 0;
if (wc < 0x00a0 || (wc < 0x00a8 && wc != 0x00a4) || wc == 0x00d0) { if (wc < 0x00a0 || (wc < 0x00a8 && wc != 0x00a4) || wc == 0x00d0) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2001 Free Software Foundation, Inc. * Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -50,7 +49,7 @@ static const unsigned short cp1250_2uni[128] = {
}; };
static int static int
cp1250_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cp1250_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
if (c < 0x80) { if (c < 0x80) {
@ -114,7 +113,7 @@ static const unsigned char cp1250_page20[48] = {
}; };
static int static int
cp1250_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) cp1250_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char c = 0; unsigned char c = 0;
if (wc < 0x0080) { if (wc < 0x0080) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2001 Free Software Foundation, Inc. * Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -50,7 +49,7 @@ static const unsigned short cp1251_2uni[128] = {
}; };
static int static int
cp1251_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cp1251_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
if (c < 0x80) { if (c < 0x80) {
@ -104,7 +103,7 @@ static const unsigned char cp1251_page20[48] = {
}; };
static int static int
cp1251_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) cp1251_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char c = 0; unsigned char c = 0;
if (wc < 0x0080) { if (wc < 0x0080) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2001 Free Software Foundation, Inc. * Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -32,7 +31,7 @@ static const unsigned short cp1252_2uni[32] = {
}; };
static int static int
cp1252_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cp1252_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
if (c < 0x80 || c >= 0xa0) { if (c < 0x80 || c >= 0xa0) {
@ -76,7 +75,7 @@ static const unsigned char cp1252_page20[48] = {
}; };
static int static int
cp1252_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) cp1252_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char c = 0; unsigned char c = 0;
if (wc < 0x0080) { if (wc < 0x0080) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2001 Free Software Foundation, Inc. * Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -50,7 +49,7 @@ static const unsigned short cp1253_2uni[128] = {
}; };
static int static int
cp1253_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cp1253_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
if (c < 0x80) { if (c < 0x80) {
@ -95,7 +94,7 @@ static const unsigned char cp1253_page20[48] = {
}; };
static int static int
cp1253_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) cp1253_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char c = 0; unsigned char c = 0;
if (wc < 0x0080) { if (wc < 0x0080) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2001 Free Software Foundation, Inc. * Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -42,7 +41,7 @@ static const unsigned short cp1254_2uni_3[16] = {
}; };
static int static int
cp1254_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cp1254_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
if (c < 0x80) { if (c < 0x80) {
@ -117,7 +116,7 @@ static const unsigned char cp1254_page20[48] = {
}; };
static int static int
cp1254_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) cp1254_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char c = 0; unsigned char c = 0;
if (wc < 0x0080) { if (wc < 0x0080) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2001, 2004 Free Software Foundation, Inc. * Copyright (C) 1999-2001, 2004, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -153,7 +152,7 @@ static const unsigned short cp1255_2uni[128] = {
0x00b8, 0x00b9, 0x00f7, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00bf, 0x00b8, 0x00b9, 0x00f7, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00bf,
/* 0xc0 */ /* 0xc0 */
0x05b0, 0x05b1, 0x05b2, 0x05b3, 0x05b4, 0x05b5, 0x05b6, 0x05b7, 0x05b0, 0x05b1, 0x05b2, 0x05b3, 0x05b4, 0x05b5, 0x05b6, 0x05b7,
0x05b8, 0x05b9, 0xfffd, 0x05bb, 0x05bc, 0x05bd, 0x05be, 0x05bf, 0x05b8, 0x05b9, 0x05ba, 0x05bb, 0x05bc, 0x05bd, 0x05be, 0x05bf,
/* 0xd0 */ /* 0xd0 */
0x05c0, 0x05c1, 0x05c2, 0x05c3, 0x05f0, 0x05f1, 0x05f2, 0x05f3, 0x05c0, 0x05c1, 0x05c2, 0x05c3, 0x05f0, 0x05f1, 0x05f2, 0x05f3,
0x05f4, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0x05f4, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd,
@ -169,7 +168,7 @@ static const unsigned short cp1255_2uni[128] = {
character, or 0 if none. */ character, or 0 if none. */
static int static int
cp1255_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cp1255_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
unsigned short wc; unsigned short wc;
@ -276,7 +275,7 @@ static const unsigned char cp1255_page02[32] = {
}; };
static const unsigned char cp1255_page05[72] = { static const unsigned char cp1255_page05[72] = {
0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7, /* 0xb0-0xb7 */ 0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7, /* 0xb0-0xb7 */
0xc8, 0xc9, 0x00, 0xcb, 0xcc, 0xcd, 0xce, 0xcf, /* 0xb8-0xbf */ 0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf, /* 0xb8-0xbf */
0xd0, 0xd1, 0xd2, 0xd3, 0x00, 0x00, 0x00, 0x00, /* 0xc0-0xc7 */ 0xd0, 0xd1, 0xd2, 0xd3, 0x00, 0x00, 0x00, 0x00, /* 0xc0-0xc7 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xc8-0xcf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xc8-0xcf */
0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, /* 0xd0-0xd7 */ 0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, /* 0xd0-0xd7 */
@ -296,7 +295,7 @@ static const unsigned char cp1255_page20[56] = {
}; };
static int static int
cp1255_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) cp1255_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char c = 0; unsigned char c = 0;
if (wc < 0x0080) { if (wc < 0x0080) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2001 Free Software Foundation, Inc. * Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -50,7 +49,7 @@ static const unsigned short cp1256_2uni[128] = {
}; };
static int static int
cp1256_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cp1256_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
if (c < 0x80) if (c < 0x80)
@ -124,7 +123,7 @@ static const unsigned char cp1256_page20[56] = {
}; };
static int static int
cp1256_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) cp1256_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char c = 0; unsigned char c = 0;
if (wc < 0x0080) { if (wc < 0x0080) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2001 Free Software Foundation, Inc. * Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -50,7 +49,7 @@ static const unsigned short cp1257_2uni[128] = {
}; };
static int static int
cp1257_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cp1257_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
if (c < 0x80) { if (c < 0x80) {
@ -114,7 +113,7 @@ static const unsigned char cp1257_page20[48] = {
}; };
static int static int
cp1257_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) cp1257_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char c = 0; unsigned char c = 0;
if (wc < 0x0080) { if (wc < 0x0080) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2001, 2004 Free Software Foundation, Inc. * Copyright (C) 1999-2001, 2004, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -72,7 +71,7 @@ static const unsigned short cp1258_2uni[128] = {
character, or 0 if none. */ character, or 0 if none. */
static int static int
cp1258_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cp1258_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
unsigned short wc; unsigned short wc;
@ -201,7 +200,7 @@ static const unsigned char cp1258_page20[48] = {
}; };
static int static int
cp1258_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) cp1258_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char c = 0; unsigned char c = 0;
if (wc < 0x0080) { if (wc < 0x0080) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2001 Free Software Foundation, Inc. * Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -50,7 +49,7 @@ static const unsigned short cp437_2uni[128] = {
}; };
static int static int
cp437_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cp437_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
if (c < 0x80) if (c < 0x80)
@ -125,7 +124,7 @@ static const unsigned char cp437_page25[168] = {
}; };
static int static int
cp437_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) cp437_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char c = 0; unsigned char c = 0;
if (wc < 0x0080) { if (wc < 0x0080) {

View File

@ -0,0 +1,149 @@
/*
* Copyright (C) 1999-2012, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library.
*
* The GNU LIBICONV Library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* The GNU LIBICONV Library is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, see <http://www.gnu.org/licenses/>.
*/
/*
* CP50221 JISX0208 extensions
*/
static const unsigned short cp50221_0208_ext_2uni[96] = {
/* 0x00 */
0xfffd, 0x2460, 0x2461, 0x2462, 0x2463, 0x2464, 0x2465, 0x2466,
0x2467, 0x2468, 0x2469, 0x246a, 0x246b, 0x246c, 0x246d, 0x246e,
/* 0x10 */
0x246f, 0x2470, 0x2471, 0x2472, 0x2473, 0x2160, 0x2161, 0x2162,
0x2163, 0x2164, 0x2165, 0x2166, 0x2167, 0x2168, 0x2169, 0xfffd,
/* 0x20 */
0x3349, 0x3314, 0x3322, 0x334d, 0x3318, 0x3327, 0x3303, 0x3336,
0x3351, 0x3357, 0x330d, 0x3326, 0x3323, 0x332b, 0x334a, 0x333b,
/* 0x30 */
0x339c, 0x339d, 0x339e, 0x338e, 0x338f, 0x33c4, 0x33a1, 0xfffd,
0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0x337b,
/* 0x40 */
0x301e, 0x301f, 0x2116, 0x33cd, 0x2121, 0x32a4, 0x32a5, 0x32a6,
0x32a7, 0x32a8, 0x3231, 0x3232, 0x3239, 0x337e, 0x337d, 0x337c,
/* 0x50 */
0xfffd, 0xfffd, 0xfffd, 0x222e, 0x2211, 0xfffd, 0xfffd, 0xfffd,
0x221f, 0x22bf, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd,
};
static int
cp50221_0208_ext_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{
unsigned char c = *s;
if (c < 0x60) {
unsigned short wc = cp50221_0208_ext_2uni[c];
if (wc != 0xfffd) {
*pwc = (ucs4_t) wc;
return 1;
}
}
return RET_ILSEQ;
}
static const unsigned char cp50221_0208_ext_page21[96] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x42, 0x00, /* 0x10-0x17 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x18-0x1f */
0x00, 0x44, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x20-0x27 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x28-0x2f */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x30-0x37 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x38-0x3f */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x40-0x47 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x48-0x4f */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x50-0x57 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x58-0x5f */
0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, /* 0x60-0x67 */
0x1d, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x68-0x6f */
};
static const unsigned char cp50221_0208_ext_page22[32] = {
0x00, 0x54, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10-0x17 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x58, /* 0x18-0x1f */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x20-0x27 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x53, 0x00, /* 0x28-0x2f */
};
static const unsigned char cp50221_0208_ext_page24[24] = {
0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, /* 0x60-0x67 */
0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, /* 0x68-0x6f */
0x11, 0x12, 0x13, 0x14, 0x00, 0x00, 0x00, 0x00, /* 0x70-0x77 */
};
static const unsigned char cp50221_0208_ext_page30[8] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x40, 0x41, /* 0x18-0x1f */
};
static const unsigned char cp50221_0208_ext_page32[16] = {
0x00, 0x4a, 0x4b, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x30-0x37 */
0x00, 0x4c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x38-0x3f */
};
static const unsigned char cp50221_0208_ext_page32_1[16] = {
0x00, 0x00, 0x00, 0x00, 0x45, 0x46, 0x47, 0x48, /* 0xa0-0xa7 */
0x49, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa8-0xaf */
};
static const unsigned char cp50221_0208_ext_page33[208] = {
0x00, 0x00, 0x00, 0x26, 0x00, 0x00, 0x00, 0x00, /* 0x00-0x07 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x2a, 0x00, 0x00, /* 0x08-0x0f */
0x00, 0x00, 0x00, 0x00, 0x21, 0x00, 0x00, 0x00, /* 0x10-0x17 */
0x24, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x18-0x1f */
0x00, 0x00, 0x22, 0x2c, 0x00, 0x00, 0x2b, 0x25, /* 0x20-0x27 */
0x00, 0x00, 0x00, 0x2d, 0x00, 0x00, 0x00, 0x00, /* 0x28-0x2f */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x27, 0x00, /* 0x30-0x37 */
0x00, 0x00, 0x00, 0x2f, 0x00, 0x00, 0x00, 0x00, /* 0x38-0x3f */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x40-0x47 */
0x00, 0x20, 0x2e, 0x00, 0x00, 0x23, 0x00, 0x00, /* 0x48-0x4f */
0x00, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x29, /* 0x50-0x57 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x58-0x5f */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x60-0x67 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x68-0x6f */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x70-0x77 */
0x00, 0x00, 0x00, 0x3f, 0x4f, 0x4e, 0x4d, 0x00, /* 0x78-0x7f */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x80-0x87 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x33, 0x34, /* 0x88-0x8f */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x90-0x97 */
0x00, 0x00, 0x00, 0x00, 0x30, 0x31, 0x32, 0x00, /* 0x98-0x9f */
0x00, 0x36, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa0-0xa7 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa8-0xaf */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xb0-0xb7 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xb8-0xbf */
0x00, 0x00, 0x00, 0x00, 0x35, 0x00, 0x00, 0x00, /* 0xc0-0xc7 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x43, 0x00, 0x00, /* 0xc8-0xcf */
};
static int
cp50221_0208_ext_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{
unsigned char c = 0;
if (wc >= 0x2110 && wc < 0x2170)
c = cp50221_0208_ext_page21[wc-0x2110];
else if (wc >= 0x2210 && wc < 0x2230)
c = cp50221_0208_ext_page22[wc-0x2210];
else if (wc == 0x22bf)
c = 0x59;
else if (wc >= 0x2460 && wc < 0x2478)
c = cp50221_0208_ext_page24[wc-0x2460];
else if (wc >= 0x3018 && wc < 0x3020)
c = cp50221_0208_ext_page30[wc-0x3018];
else if (wc >= 0x3230 && wc < 0x3240)
c = cp50221_0208_ext_page32[wc-0x3230];
else if (wc >= 0x32a0 && wc < 0x32b0)
c = cp50221_0208_ext_page32_1[wc-0x32a0];
else if (wc >= 0x3300 && wc < 0x33d0)
c = cp50221_0208_ext_page33[wc-0x3300];
if (c != 0) {
*r = c;
return 1;
}
return RET_ILUNI;
}

View File

@ -0,0 +1,212 @@
/*
* Copyright (C) 1999-2011, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library.
*
* The GNU LIBICONV Library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* The GNU LIBICONV Library is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, see <http://www.gnu.org/licenses/>.
*/
/*
* CP50221 JISX0212 extensions
*/
static const unsigned short cp50221_0212_ext_2uni[112] = {
/* 0x00 */
0xfffd, 0x2170, 0x2171, 0x2172, 0x2173, 0x2174, 0x2175, 0x2176,
0x2177, 0x2178, 0x2179, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd,
/* 0x10 */
0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xff07, 0xff02, 0xfffd,
0xfffd, 0xfffd, 0x70bb, 0x4efc, 0x50f4, 0x51ec, 0x5307, 0x5324,
/* 0x20 */
0xfa0e, 0x548a, 0x5759, 0xfa0f, 0xfa10, 0x589e, 0x5bec, 0x5cf5,
0x5d53, 0xfa11, 0x5fb7, 0x6085, 0x6120, 0x654e, 0xfffd, 0x6665,
/* 0x30 */
0xfa12, 0xf929, 0x6801, 0xfa13, 0xfa14, 0x6a6b, 0x6ae2, 0x6df8,
0x6df2, 0x7028, 0xfa15, 0xfa16, 0x7501, 0x7682, 0x769e, 0xfa17,
/* 0x40 */
0x7930, 0xfa18, 0xfa19, 0xfa1a, 0xfa1b, 0x7ae7, 0xfa1c, 0xfa1d,
0x7da0, 0x7dd6, 0xfa1e, 0x8362, 0xfa1f, 0x85b0, 0xfa20, 0xfa21,
/* 0x50 */
0x8807, 0xfa22, 0x8b7f, 0x8cf4, 0x8d76, 0xfa23, 0xfa24, 0xfa25,
0x90de, 0xfa26, 0x9115, 0xfa27, 0xfa28, 0x9592, 0xf9dc, 0xfa29,
/* 0x60 */
0x973b, 0xfffd, 0x9751, 0xfa2a, 0xfa2b, 0xfa2c, 0x999e, 0x9ad9,
0x9b72, 0xfa2d, 0x9ed1, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd,
};
static int
cp50221_0212_ext_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{
unsigned char c = *s;
if (c < 0x70) {
unsigned short wc = cp50221_0212_ext_2uni[c];
if (wc != 0xfffd) {
*pwc = (ucs4_t) wc;
return 1;
}
}
else if (c == 0xa1) {
*pwc = 0x974d;
return 1;
}
return RET_ILSEQ;
}
static const unsigned char cp50221_0212_ext_page21[16] = {
0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, /* 0x70-0x77 */
0x09, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x78-0x7f */
};
static const unsigned char cp50221_0212_ext_page53[40] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1e, /* 0x00-0x07 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x08-0x0f */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10-0x17 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x18-0x1f */
0x00, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, /* 0x20-0x27 */
};
static const unsigned char cp50221_0212_ext_page6d[16] = {
0x00, 0x00, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xf0-0xf7 */
0x37, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xf8-0xff */
};
static const unsigned char cp50221_0212_ext_page76[32] = {
0x00, 0x00, 0x3d, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x80-0x87 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x88-0x8f */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x90-0x97 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3e, 0x00, /* 0x98-0x9f */
};
static const unsigned char cp50221_0212_ext_page7d[56] = {
0x48, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa0-0xa7 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa8-0xaf */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xb0-0xb7 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xb8-0xbf */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xc0-0xc7 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xc8-0xcf */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x49, 0x00, /* 0xd0-0xd7 */
};
static const unsigned char cp50221_0212_ext_page97[32] = {
0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, /* 0x38-0x3f */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x40-0x47 */
0x00, 0x00, 0x00, 0x00, 0x00, 0xa1, 0x00, 0x00, /* 0x48-0x4f */
0x00, 0x62, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x50-0x57 */
};
static const unsigned char cp50221_0212_ext_pagefa[40] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x23, /* 0x08-0x0f */
0x24, 0x29, 0x30, 0x33, 0x34, 0x3a, 0x3b, 0x3f, /* 0x10-0x17 */
0x41, 0x42, 0x43, 0x44, 0x46, 0x47, 0x4a, 0x4c, /* 0x18-0x1f */
0x4e, 0x4f, 0x51, 0x55, 0x56, 0x57, 0x59, 0x5b, /* 0x20-0x27 */
0x5c, 0x5f, 0x63, 0x64, 0x65, 0x69, 0x00, 0x00, /* 0x28-0x2f */
};
static const unsigned char cp50221_0212_ext_pageff[8] = {
0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x00, 0x15, /* 0x00-0x07 */
};
static int
cp50221_0212_ext_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{
unsigned char c = 0;
if (wc >= 0x2170 && wc < 0x2180)
c = cp50221_0212_ext_page21[wc-0x2170];
else if (wc == 0x4efc)
c = 0x1b;
else if (wc == 0x50f4)
c = 0x1c;
else if (wc == 0x51ec)
c = 0x1d;
else if (wc >= 0x5300 && wc < 0x5328)
c = cp50221_0212_ext_page53[wc-0x5300];
else if (wc == 0x548a)
c = 0x21;
else if (wc == 0x5759)
c = 0x22;
else if (wc == 0x589e)
c = 0x25;
else if (wc == 0x5bec)
c = 0x26;
else if (wc == 0x5cf5)
c = 0x27;
else if (wc == 0x5d53)
c = 0x28;
else if (wc == 0x5fb7)
c = 0x2a;
else if (wc == 0x6085)
c = 0x2b;
else if (wc == 0x6120)
c = 0x2c;
else if (wc == 0x654e)
c = 0x2d;
else if (wc == 0x6665)
c = 0x2f;
else if (wc == 0x6801)
c = 0x32;
else if (wc == 0x6a6b)
c = 0x35;
else if (wc == 0x6ae2)
c = 0x36;
else if (wc >= 0x6df0 && wc < 0x6e00)
c = cp50221_0212_ext_page6d[wc-0x6df0];
else if (wc == 0x7028)
c = 0x39;
else if (wc == 0x70bb)
c = 0x1a;
else if (wc == 0x7501)
c = 0x3c;
else if (wc >= 0x7680 && wc < 0x76a0)
c = cp50221_0212_ext_page76[wc-0x7680];
else if (wc == 0x7930)
c = 0x40;
else if (wc == 0x7ae7)
c = 0x45;
else if (wc >= 0x7da0 && wc < 0x7dd8)
c = cp50221_0212_ext_page7d[wc-0x7da0];
else if (wc == 0x8362)
c = 0x4b;
else if (wc == 0x85b0)
c = 0x4d;
else if (wc == 0x8807)
c = 0x50;
else if (wc == 0x8b7f)
c = 0x52;
else if (wc == 0x8cf4)
c = 0x53;
else if (wc == 0x8d76)
c = 0x54;
else if (wc == 0x90de)
c = 0x58;
else if (wc == 0x9115)
c = 0x5a;
else if (wc == 0x9592)
c = 0x5d;
else if (wc >= 0x9738 && wc < 0x9758)
c = cp50221_0212_ext_page97[wc-0x9738];
else if (wc == 0x999e)
c = 0x66;
else if (wc == 0x9ad9)
c = 0x67;
else if (wc == 0x9b72)
c = 0x68;
else if (wc == 0x9ed1)
c = 0x6a;
else if (wc == 0xf929)
c = 0x31;
else if (wc == 0xf9dc)
c = 0x5e;
else if (wc >= 0xfa08 && wc < 0xfa30)
c = cp50221_0212_ext_pagefa[wc-0xfa08];
else if (wc >= 0xff00 && wc < 0xff08)
c = cp50221_0212_ext_pageff[wc-0xff00];
if (c != 0) {
*r = c;
return 1;
}
return RET_ILUNI;
}

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2002 Free Software Foundation, Inc. * Copyright (C) 1999-2002, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -50,7 +49,7 @@ static const unsigned short cp737_2uni[128] = {
}; };
static int static int
cp737_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cp737_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
if (c < 0x80) if (c < 0x80)
@ -114,7 +113,7 @@ static const unsigned char cp737_page25[168] = {
}; };
static int static int
cp737_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) cp737_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char c = 0; unsigned char c = 0;
if (wc < 0x0080) { if (wc < 0x0080) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2001 Free Software Foundation, Inc. * Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -50,7 +49,7 @@ static const unsigned short cp775_2uni[128] = {
}; };
static int static int
cp775_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cp775_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
if (c < 0x80) if (c < 0x80)
@ -119,7 +118,7 @@ static const unsigned char cp775_page25[168] = {
}; };
static int static int
cp775_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) cp775_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char c = 0; unsigned char c = 0;
if (wc < 0x0080) { if (wc < 0x0080) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2001 Free Software Foundation, Inc. * Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -50,7 +49,7 @@ static const unsigned short cp850_2uni[128] = {
}; };
static int static int
cp850_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cp850_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
if (c < 0x80) if (c < 0x80)
@ -99,7 +98,7 @@ static const unsigned char cp850_page25[168] = {
}; };
static int static int
cp850_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) cp850_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char c = 0; unsigned char c = 0;
if (wc < 0x0080) { if (wc < 0x0080) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999-2001 Free Software Foundation, Inc. * Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library. * This file is part of the GNU LIBICONV Library.
* *
* The GNU LIBICONV Library is free software; you can redistribute it * The GNU LIBICONV Library is free software; you can redistribute it
@ -14,8 +14,7 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with the GNU LIBICONV Library; see the file COPYING.LIB. * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street, * If not, see <http://www.gnu.org/licenses/>.
* Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/* /*
@ -50,7 +49,7 @@ static const unsigned short cp852_2uni[128] = {
}; };
static int static int
cp852_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) cp852_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n)
{ {
unsigned char c = *s; unsigned char c = *s;
if (c < 0x80) if (c < 0x80)
@ -122,7 +121,7 @@ static const unsigned char cp852_page25[168] = {
}; };
static int static int
cp852_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) cp852_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
{ {
unsigned char c = 0; unsigned char c = 0;
if (wc < 0x0080) { if (wc < 0x0080) {

Some files were not shown because too many files have changed in this diff Show More