Submitted By: Arthur Demchenkov (spinal dot by at mail dot ru)
Date: 2007-03-10
Initial Package Version: tripwire-2.4.0.1
Upstream Status: Unknown
Description: Fixes the bug with multibyte locales.
diff -Naur tripwire-2.4.0.1-orig/src/tw/textreportviewer.cpp tripwire-2.4.0.1/src/tw/textreportviewer.cpp
old
|
new
|
|
1997 | 1997 | else |
1998 | 1998 | { |
1999 | 1999 | // incomplete mb char -- keep reading in bytes |
| 2000 | // reset mbtowc internal shift after invalid conversion |
| 2001 | mbtowc ( NULL, NULL, 1 ); |
2000 | 2002 | } |
2001 | 2003 | } |
2002 | 2004 | } |