dvd+rw-tools-7.0-wctomb.patch 371 B

123456789101112
  1. --- transport.hxx~ 2008-03-25 21:24:47.000000000 -0400
  2. +++ transport.hxx 2008-03-25 21:25:36.000000000 -0400
  3. @@ -116,7 +116,7 @@
  4. extern "C" char *plusminus_locale()
  5. { static class __plusminus {
  6. private:
  7. - char str[4];
  8. + char str[MB_LEN_MAX];
  9. public:
  10. __plusminus() { setlocale(LC_CTYPE,ENV_LOCALE);
  11. int l = wctomb(str,(wchar_t)(unsigned char)'±');