Bug 1304839 - cut with coreutils-i18n-cut.patch broken if field width >= 64 chars
Summary: cut with coreutils-i18n-cut.patch broken if field width >= 64 chars
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: coreutils
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1307420 1307661
TreeView+ depends on / blocked
 
Reported: 2016-02-04 18:29 UTC by Sandro Mani
Modified: 2016-02-15 12:43 UTC (History)
7 users (show)

Fixed In Version: coreutils-8.25-4.fc24
Clone Of:
Environment:
Last Closed: 2016-02-15 12:06:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Sandro Mani 2016-02-04 18:29:24 UTC
Description of problem:
Following applies to any coreutils version carrying coreutils-i18n-cut.patch:

$ echo 'a_long_field_wider_than_sixty_three_characters_XXXXXXXXXXXXXXXX::foo' > test
$ cut -d':' -f 3 test
a_long_field_wider_than_sixty_three_characters_XXXXXXXXXXXXXXXX

$ echo 'a_shorter_field::foo' > test
$ cut -d':' -f 3 test
foo
$

This is breaking jetring / debian-keyring builds.

Version-Release number of selected component (if applicable):
coreutils-8.24-107.fc24 onwards

How reproducible:
Always

Comment 1 Ondrej Vasik 2016-02-15 11:22:09 UTC
Thanks for report, reproducible, no workaround atm. (happens in LC_ALL=C as well :( )
Will try to fix this soon...

Comment 2 Ondrej Vasik 2016-02-15 12:06:49 UTC
Should be fixed in coreutils-8.25-4.fc24 . Closing RAWHIDE, feel free to reopen if some issues still persist.

Comment 3 Sandro Mani 2016-02-15 12:43:06 UTC
Seems to work, thanks!


Note You need to log in before you can comment on or make changes to this bug.