rpms/coreutils/devel coreutils-i18n.patch, 1.18, 1.19 coreutils.spec, 1.137, 1.138
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Thu Aug 24 16:01:14 UTC 2006
Author: twaugh
Update of /cvs/dist/rpms/coreutils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv31532
Modified Files:
coreutils-i18n.patch coreutils.spec
Log Message:
* Thu Aug 24 2006 Tim Waugh <twaugh at redhat.com>
- Fixed warnings in i18n patch (bug #203166).
coreutils-i18n.patch:
coreutils-5.95/lib/linebuffer.h | 8
coreutils-5.95/src/cut.c | 420 +++++++++++++++++++-
coreutils-5.95/src/expand.c | 161 +++++++
coreutils-5.95/src/fold.c | 317 +++++++++++++--
coreutils-5.95/src/join.c | 348 ++++++++++++++--
coreutils-5.95/src/pr.c | 431 ++++++++++++++++++--
coreutils-5.95/src/unexpand.c | 226 ++++++++++
coreutils-5.95/src/uniq.c | 259 ++++++++++++
coreutils-5.95/tests/sort/Makefile.am | 8
coreutils-5.95/tests/sort/Makefile.in | 99 ++--
coreutils-5.95/tests/sort/mb1.I | 4
coreutils-5.95/tests/sort/mb1.X | 4
coreutils-5.95/tests/sort/mb2.I | 4
coreutils-5.95/tests/sort/mb2.X | 4
coreutils-5.95/tests/sort/sort-mb-tests | 58 ++
src/sort.c | 665 ++++++++++++++++++++++++++++++--
16 files changed, 2781 insertions(+), 235 deletions(-)
Index: coreutils-i18n.patch
===================================================================
RCS file: /cvs/dist/rpms/coreutils/devel/coreutils-i18n.patch,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- coreutils-i18n.patch 15 Aug 2006 16:50:47 -0000 1.18
+++ coreutils-i18n.patch 24 Aug 2006 16:01:11 -0000 1.19
@@ -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)
Index: coreutils.spec
===================================================================
RCS file: /cvs/dist/rpms/coreutils/devel/coreutils.spec,v
retrieving revision 1.137
retrieving revision 1.138
diff -u -r1.137 -r1.138
--- coreutils.spec 24 Aug 2006 15:59:31 -0000 1.137
+++ coreutils.spec 24 Aug 2006 16:01:11 -0000 1.138
@@ -281,6 +281,7 @@
%changelog
* Thu Aug 24 2006 Tim Waugh <twaugh at 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).
More information about the fedora-cvs-commits
mailing list