Bernhard Voelker
e241867dd1
i18n patch: avoid test failure for uniq's 145-mb test case
...
* tests.misc/uniq.pl: For comparing the stderr message with the
expected result, all multibyte-typical ‘...’ must be replaced
by '...'. Add a ERR_SUBST expression to do that.
2014-01-08 13:59:00 +01:00
Ondřej Vašík
ff51f0cc5e
Rediff the changes
2014-01-08 13:58:02 +01:00
Bernhard Voelker
ef63c71412
maint: avoid compiler warnings introduced by i18n patch
...
* src/cut.c (convfail,CONVFAIL): Change to bool to avoid a GCC
warning about signed vs. unsigned. Also avoid "set but not used"
of convfail in cut_characters_or_cut_bytes_no_split.
(cut_fields_mb): Fix indentation.
* src/expand.c: Add include for wctype.h to declare isblank().
* src/fold.c (fold_file): Add "const" attribute to 'filename' parameter
to avoid "const cast away" in call in main().
* src/join.c (xfields_multibyte): Remove unused variable 't'.
(keycmp): Evaluate the return value of wcrtomb(). Furthermore,
when copying 'beg' to 'copy' array elements, remove the unnecessary
cast to unsigned.
(main): When assigning the newline string to 'newtab', cast away the
implicit const.
* src/pr.c: Remove the unneeded include of wctype.h and the define
of iswprint().
(print_stored): Add the unsigned qualifier to 'first' and 'last' to
avoid a signedness warning.
* src/sort.c (getmonth_mb): Cast away the 'const' qualifier of 's'
when assigning to *ea.
* src/uniq.c (different_multi): Evaluate the return result of wcrtomb();
Add the include of assert.h for that.
2014-01-08 13:48:41 +01:00
Bernhard Voelker
963813cd96
i18n patch: fix wrongly merged code in cut.c
...
* src/cut.c (cut_characters_or_cut_bytes_no_split): Move setting
of print_delimiter into the correct scope.
2014-01-08 13:17:10 +01:00
Ondrej Oprala
45bd042713
Related:#1021403 - Don't use cut mb path if not necessary
2014-01-08 13:01:49 +01:00
Ondrej Oprala
9b303ebcee
Fix sorting by non-first field ( #1003544 )
2014-01-06 11:49:31 +01:00
Ondrej Oprala
d6d7448c6a
reverted an old change and constricted it's condition, turned off two multibyte tests (wrong strcoll return value)
2014-01-02 21:29:29 +01:00
Ondřej Vašík
94edc2ddc8
Fix the sigabrt caused by 8.22-2
2013-12-22 16:39:13 +01:00
Ondřej Vašík
f1ce0c9000
reset buffer before copying to prevent some rare cases of invalid output in join and uniq( #1036289 )
2013-12-19 11:09:01 +01:00
Ondřej Vašík
6f9637e525
cut - Fix the variables in multibyte path to work on 64 bit
2013-12-17 22:24:10 +01:00
Ondřej Vašík
8ff0950897
fix uniq group support in multibyte
2013-12-16 17:48:21 +01:00
Ondřej Vašík
a1f9baa6b8
Fix the i18n path in cut.c
2013-12-15 09:05:15 +01:00
Ondřej Vašík
bb33bc40ad
New upstream version 8.22, rediff, adjusting i18n patch to work after upstream optimizations, will investigate cut.pl before build (failing df symlink check is not a regression)
2013-12-14 18:41:07 +01:00
Ondřej Vašík
595c0722d7
skip output-is-input-mb.p test - failing on armv7l (reported by B.Voelker)
2013-12-12 13:34:32 +01:00
Ondřej Vašík
b9de06b267
Remove no longer needed files in coreutils-i18n testsuite
2013-12-02 10:53:06 +01:00
Ondřej Vašík
cc8ce57be2
Enable cut and sort-merge perl tests for multibyte as well
2013-11-28 01:35:10 +01:00
Ondřej Vašík
3e3be79dfd
turn on the multibyte path in the testsuite to cover i18n regressions
2013-11-28 01:24:16 +01:00
Ondřej Vašík
32c6651930
pr -e, with a mix of backspaces and TABs, could corrupt the heap in multibyte locales (analyzed by J.Koncicky)
2013-08-15 13:26:11 +02:00
Ondrej Oprala
0dcc5a0d5e
sort: fix multibyte incompabilities ( #821264 )
2013-08-14 19:01:16 +02:00
Ondřej Vašík
bdd83b2e69
merge changes
2013-02-20 16:34:53 +01:00
Ondřej Vašík
1801957473
fix multibyte issue in unexpand(by R.Kollar, #821262 )
2013-02-20 16:33:47 +01:00
Ondrej Oprala
1812652505
fix sort-mb-tests.sh test (B.Voelker)
2013-02-18 18:31:54 +01:00
Mark Wielaard
970e32111e
fix coreutils-i18n.patch to terminate mbdelim string ( #911929 )
...
Signed-off-by: Mark Wielaard <mjw@redhat.com>
2013-02-18 10:32:30 +01:00
Ondřej Vašík
4c4be9e1c9
new upstream release 8.21, update patches
2013-02-15 17:50:47 +01:00
Ondrej Oprala
9ae2bc3ca1
add missing sort-mb-tests.sh to local.mk
2013-02-08 14:55:22 +01:00
Ondřej Vašík
5089cf4365
Fix multiple segmantation faults in i18n patch (by SUSE) - ( #869442 , #902917 )
2013-01-23 10:04:52 +01:00
Ondřej Vašík
8b177c8f26
Update patches for new-upstream release 8.20, please DO NOT BUILD - no su
2012-10-27 21:14:41 +02:00
Ondřej Vašík
fa6f383f16
fix multibyte issues in cut and expand (M.Briza, #821260 )
2012-08-20 13:57:53 +02:00
Ondřej Vašík
89d1aa92a0
New upstream release changes, su/runuser ones just commented out atm, don't build
2012-08-13 00:14:40 +02:00
Ondřej Vašík
315471e18a
new upstream release 8.17, defuzz patches
2012-05-11 09:58:08 +02:00
Ondřej Vašík
bb1a465686
new upstream release 8.16, defuzz patches, remove already applied patches
2012-03-26 18:23:32 +02:00
Ondřej Vašík
58683bf9af
fix sort segfault with multibyte locales (by P.Brady)
2012-03-07 21:29:40 +01:00
Kamil Dudka
ad3d42ec4f
fix stack smashing, buffer overflow and invalid output of pr ( #772172 )
2012-01-16 15:48:04 +01:00
Ondřej Vašík
7f6231bff1
new upstream release 8.15, patches updated
2012-01-07 20:47:10 +01:00
Ondřej Vašík
586a3174f1
fix pr -c and pr -v segfault with multibyte locales
2012-01-05 15:34:33 +01:00
Ondřej Vašík
59d9061232
new upstream release 8.14
2011-10-12 16:13:12 +02:00
Ondřej Vašík
fbca36cbd7
fix the SUSE fix for cut output-delimiter
2011-09-09 14:53:00 +02:00
Ondřej Vašík
b5f9200448
new upstream release 8.13, drop libs subpackage, temporarily disable multibyte checks in misc/cut test
2011-09-09 13:16:47 +02:00
Ondrej Vasik
a68f226c74
incorporate some i18n patch fixes from SUSE: fix output-delimiter option in cut, prevent infinite loop in sort when ignoring chars, prevent using unitialized variable in cut
2011-09-05 08:18:24 +02:00
Ondřej Vašík
7a041cc0d8
fix possible uninitalized variables usage caused by i18n patch( #683799 )
2011-03-14 09:43:52 +01:00
Ondrej Vasik
16cfab74f0
new upstream release coreutils-8.10
2011-02-04 20:34:45 +01:00
Ondřej Vašík
58ba6d5250
new upstream release coreutils-8.9
2011-01-04 17:59:58 +01:00
Ondrej Vasik
826eac74c1
new upstream release coreutils-8.8 ( #665164 ), fix parallel sorting issue ( #655096 )
2010-12-23 14:14:21 +01:00
Ondřej Vašík
9170895a87
New upstream release 8.7, consolidate PAM support with SUSE ( #622700 )
2010-11-15 13:16:04 +01:00
Kamil Dudka
c07997606c
prevent sort from assertion failure ( #647938 )
...
... in case LC_CTYPE does not match LC_TIME
2010-11-03 12:16:08 +01:00
Kamil Dudka
bd229edf8d
improve i18n support in sort
...
test misc/sort-debug-keys is now back
2010-10-26 18:58:51 +02:00
Ondřej Vašík
98ff9fee21
new upstream release 8.6
2010-10-20 14:03:53 +02:00
Ondřej Vašík
a921d1b238
change assertion failure for invalid multibyte input in sort to less confusing error message( #591352 )
2010-09-20 13:19:42 +02:00
Ondrej Vasik
12996d09a1
new upstream release 8.5
2010-04-26 13:15:37 +00:00
Ondrej Vasik
dc24bf67e6
new upstream release coreutils-8.3
2010-01-08 08:10:16 +00:00