forked from pool/coreutils
characters (brc#2112870) (bsc#1202029)
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=336
This commit is contained in:
parent
03bb9aece5
commit
16c285303a
@ -4283,7 +4283,7 @@ index 7d6100f..04cd646 100644
|
|||||||
- column++;
|
- column++;
|
||||||
+ /* mb_width() returns 0 for control characters */
|
+ /* mb_width() returns 0 for control characters */
|
||||||
+ const int width = mb_width (c);
|
+ const int width = mb_width (c);
|
||||||
+ column += (width) ? width : 1;
|
+ column += MIN(1, width);
|
||||||
if (!column)
|
if (!column)
|
||||||
die (EXIT_FAILURE, 0, _("input line is too long"));
|
die (EXIT_FAILURE, 0, _("input line is too long"));
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
Mon Aug 1 21:16:27 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
Mon Aug 1 21:16:27 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
- refresh coreutils-i18n.patch to prevent unexpand from failing on control
|
- refresh coreutils-i18n.patch to prevent unexpand from failing on control
|
||||||
characters (brc#2112870)
|
characters (brc#2112870) (bsc#1202029)
|
||||||
- extend psuffix handling to be quilt(1) compatible
|
- extend psuffix handling to be quilt(1) compatible
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user