- Fixed warnings in i18n patch (bug #203166).
This commit is contained in:
parent
4365a0d8e4
commit
1d72cf0b92
@ -640,7 +640,7 @@
|
||||
+print_char_multi (char c)
|
||||
+{
|
||||
+ static size_t mbc_pos = 0;
|
||||
+ static unsigned char mbc[MB_LEN_MAX] = {'\0'};
|
||||
+ static char mbc[MB_LEN_MAX] = {'\0'};
|
||||
+ static mbstate_t state = {'\0'};
|
||||
+ mbstate_t state_bak;
|
||||
+ wchar_t wc;
|
||||
@ -650,7 +650,7 @@
|
||||
+ if (tabify_output)
|
||||
+ {
|
||||
+ state_bak = state;
|
||||
+ mbc[mbc_pos++] = (unsigned char)c;
|
||||
+ mbc[mbc_pos++] = c;
|
||||
+ mblength = mbrtowc (&wc, mbc, mbc_pos, &state);
|
||||
+
|
||||
+ while (mbc_pos > 0)
|
||||
|
@ -281,6 +281,7 @@ fi
|
||||
|
||||
%changelog
|
||||
* Thu Aug 24 2006 Tim Waugh <twaugh@redhat.com>
|
||||
- Fixed warnings in i18n patch (bug #203166).
|
||||
- Fixed warnings in sysinfo patch (bug #203166).
|
||||
- Fixed warnings in selinux patch (bug #203166).
|
||||
- Fixed warnings in acl patch (bug #203166).
|
||||
|
Loading…
Reference in New Issue
Block a user