Commit Graph

515 Commits

Author SHA1 Message Date
Ondrej Oprala
be3c926a11 Limit the cut optimizations to UTF-8 locales only 2014-01-10 16:06:15 +01:00
Ondřej Vašík
b3c0c98841 Add changelog comment 2014-01-08 15:27:56 +01:00
Ondřej Vašík
02d5a162e7 Adjust the patch 2014-01-08 14:55:05 +01:00
Bernhard Voelker
dc1142233b i18n patch: simplify multi-byte handling in uniq
* src/uniq.c (check_file): Instead of copying the whole code, simply
determine the value of 'new_group' by invoking different_multi in
the multi-byte case.
2014-01-08 14:54:22 +01:00
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
Ondřej Vašík
40bc313160 Add Fedora bug reference 2014-01-08 13:03:41 +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
Ondřej Vašík
31d3fdd040 do not modify SELinux contexts of existing parent directories when copying files (fix by P.Brady, #1045122) 2014-01-03 08:38:06 +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
83c13991c9 Disable wrong selinux handling in cp -a, document SELinux related deprecated downstream options 2014-01-02 11:39:46 +01:00
Ondřej Vašík
7a1c1f8975 skip even the ls aliases in noninteractive mode (suggested by T. Cordes, #988152) 2013-12-23 10:50:56 +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
9268947eab update dircolors 2013-12-18 23:41:42 +01:00
Ondřej Vašík
bbc81312d7 Related:#1043552 - add new lines into deprecations. 2013-12-18 17:13:25 +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
a504f0affe Add some info about the failing test (shouldn't fail in rawhide and in common cases, it is not a regression (more probably incomplete fix in coreutils-8.22) 2013-12-16 18:55:30 +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
3a87513acc Reduce the unnecessary SELinux stuff(included upstream), enable openssl (libcrypto) support for HASHsum utilities 2013-12-16 09:42:12 +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
Peter Robinson
a6b6d0c94b Add upstream patch to fix test failures on aarch64 2013-12-09 11:26:15 +00: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
6f1fcbc4c6 Fix possible noclobber issue in colorls.sh as well 2013-11-06 16:18:23 +01:00
Ondřej Vašík
afe488cc19 fix possible colorls.csh script errors for tcsh with noclobber set and entered include file (#1027279) 2013-11-06 14:38:56 +01:00
Ondřej Vašík
bf6c8ea752 Fix minor issue in colorls.csh script with noclobber on (reported by Ty! Boyack) 2013-11-06 14:24:54 +01:00
Ondřej Vašík
9b2b941682 cp: correct error message for invalid arguments of '--no-preserve' (#1018206) 2013-10-14 09:58:44 +02: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
Dennis Gilmore
bce5991c5f - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 00:52:16 -05:00
Ondrej Oprala
e8fe3e1cf6 change the TMP variable name in colorls.csh to _tmp (#981373) 2013-07-17 14:30:46 +02:00
Ondřej Vašík
1ad7b8db0f revert the last change 2013-05-17 13:16:16 +02:00
Ondřej Vašík
3da08655cd argh, fridays 2013-05-17 10:09:13 +02:00
Ondřej Vašík
b87f1b2dfc fix typo 2013-05-17 09:50:40 +02:00
Ondřej Vašík
ed5396d91e require glibc-devel to prevent broken links in coreutils info manual (#959697) 2013-05-17 09:21:51 +02:00
Ville Skyttä
f0b6f85aff colorls profile script tmp file handling improvements 2013-05-08 17:25:06 +02:00
Ondrej Oprala
7bbf86f2fe Fix tmp file location in colorls scripts (#948008) 2013-04-05 13:04:52 +02:00
Ondřej Vašík
c7a1b74c04 DIR_COLORS.xterm should have higher priority than DIR_COLORS.256color (#921651) 2013-03-14 16:50:09 +01:00
Ondrej Oprala
1ad51b6276 add support for INCLUDE in colorls scripts (#818069) 2013-03-11 16:00:59 +01:00
Ondřej Vašík
76ade64f4b fix factor on AArch64 (M.Salter, #917735) 2013-03-04 18:23:34 +01:00
Ondřej Vašík
c3f2f52e74 spec file entry for new archive types colorization 2013-03-01 12:14:16 +01:00
Ondřej Vašík
9c597e4334 Colorize several new archive types (#868510) 2013-03-01 12:11:29 +01:00
Ondřej Vašík
bad02099bd install: do proper cleanup when strip fails (O.Oprala, B.Voekler, #632444) 2013-02-23 12:03:18 +01:00