cut: be MB for ALL archs
This commit is contained in:
parent
01067b2813
commit
11e5aa1d55
@ -536,7 +536,7 @@
|
||||
case 'f':
|
||||
/* Build the field list. */
|
||||
if (operating_mode != undefined_mode)
|
||||
@@ -747,9 +986,15 @@ main (int argc, char **argv)
|
||||
@@ -747,9 +986,17 @@ main (int argc, char **argv)
|
||||
case 'd':
|
||||
/* New delimiter. */
|
||||
/* Interpret -d '' to mean 'use the NUL byte as the delimiter.' */
|
||||
@ -545,11 +545,13 @@
|
||||
+ if (!mbi_avail (iter))
|
||||
+ mb_setascii (&delim, '\0');
|
||||
+ else
|
||||
+ mb_copy (&delim, &mbi_cur (iter));
|
||||
+ {
|
||||
+ mb_copy (&delim, &mbi_cur (iter));
|
||||
+
|
||||
+ mbi_advance (iter);
|
||||
+ if (mbi_avail (iter))
|
||||
+ mbi_advance (iter);
|
||||
+ if (mbi_avail (iter))
|
||||
FATAL_ERROR (_("the delimiter must be a single character"));
|
||||
+ }
|
||||
- delim = optarg[0];
|
||||
delim_specified = true;
|
||||
break;
|
||||
|
@ -1,7 +1,7 @@
|
||||
Summary: A set of basic GNU tools commonly used in shell scripts
|
||||
Name: coreutils
|
||||
Version: 8.24
|
||||
Release: 107%{?dist}
|
||||
Release: 108%{?dist}
|
||||
License: GPLv3+
|
||||
Group: System Environment/Base
|
||||
Url: http://www.gnu.org/software/coreutils/
|
||||
@ -359,6 +359,9 @@ fi
|
||||
%license COPYING
|
||||
|
||||
%changelog
|
||||
* Fri Jan 15 2016 Ondrej Oprala <ooprala@redhat.com> - 8.24-108
|
||||
- cut: be MB for ALL archs
|
||||
|
||||
* Fri Jan 15 2016 Ondrej Oprala <ooprala@redhat.com> - 8.24-107
|
||||
- Use the new i18n implementation for the cut utility
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user