diff options
Diffstat (limited to 'community/dvd+rw-tools/transport.hxx.patch')
-rw-r--r-- | community/dvd+rw-tools/transport.hxx.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/community/dvd+rw-tools/transport.hxx.patch b/community/dvd+rw-tools/transport.hxx.patch new file mode 100644 index 0000000000..d2f4f04b34 --- /dev/null +++ b/community/dvd+rw-tools/transport.hxx.patch @@ -0,0 +1,19 @@ +--- dvd+rw-tools-7.1/transport.hxx ++++ dvd+rw-tools-7.1/transport.hxx.changed +@@ -16,6 +16,7 @@ + #include <fcntl.h> + #include <poll.h> + #include <sys/time.h> ++#include <limits.h> + + inline long getmsecs() + { struct timeval tv; +@@ -123,7 +124,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)''); |