summaryrefslogtreecommitdiff
path: root/extra/dvd+rw-tools/dvd+rw-tools-7.0-wctomb.patch
blob: 56bd72575e8f5d5a875d95481df653e82b3f0bb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- transport.hxx~	2008-03-25 21:24:47.000000000 -0400
+++ transport.hxx	2008-03-25 21:25:36.000000000 -0400
@@ -116,7 +116,7 @@
 extern "C" char *plusminus_locale()
 { static class __plusminus {
     private:
-	char str[4];
+	char str[MB_LEN_MAX];
     public:
 	__plusminus()	{   setlocale(LC_CTYPE,ENV_LOCALE);
 			    int l = wctomb(str,(wchar_t)(unsigned char)'±');