- Fixed pr in multibyte locales (bug #189663).
This commit is contained in:
parent
c221770e54
commit
5b0e440974
@ -615,8 +615,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (optind == argc)
|
if (optind == argc)
|
||||||
--- coreutils-5.93/src/pr.c.i18n 2005-09-16 08:50:33.000000000 +0100
|
--- coreutils-5.93/src/pr.c 2005-12-23 08:53:01.000000000 +0000
|
||||||
+++ coreutils-5.93/src/pr.c 2005-12-23 08:53:01.000000000 +0000
|
+++ coreutils-5.95/src/pr.c 2006-05-15 13:45:56.000000000 +0100
|
||||||
@@ -313,6 +313,32 @@
|
@@ -313,6 +313,32 @@
|
||||||
|
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
@ -846,7 +846,7 @@
|
|||||||
use_col_separator = true;
|
use_col_separator = true;
|
||||||
if (optarg)
|
if (optarg)
|
||||||
separator_string (optarg);
|
separator_string (optarg);
|
||||||
@@ -1188,10 +1279,45 @@
|
@@ -1188,17 +1279,52 @@
|
||||||
a number. */
|
a number. */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -894,6 +894,14 @@
|
|||||||
if (*arg)
|
if (*arg)
|
||||||
{
|
{
|
||||||
long int tmp_long;
|
long int tmp_long;
|
||||||
|
We've to use 8 as the lower limit, if we use chars_per_default_tab = 8
|
||||||
|
to expand a tab which is not an input_tab-char. */
|
||||||
|
free (clump_buff);
|
||||||
|
- clump_buff = xmalloc (MAX (8, chars_per_input_tab));
|
||||||
|
+ clump_buff = xmalloc (MAX (80, chars_per_input_tab));
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Open the necessary files,
|
||||||
@@ -1256,7 +1382,7 @@
|
@@ -1256,7 +1382,7 @@
|
||||||
else
|
else
|
||||||
col_sep_string = column_separator;
|
col_sep_string = column_separator;
|
||||||
|
@ -263,6 +263,9 @@ fi
|
|||||||
/sbin/runuser
|
/sbin/runuser
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 15 2006 Tim Waugh <twaugh@redhat.com>
|
||||||
|
- Fixed pr in multibyte locales (bug #189663).
|
||||||
|
|
||||||
* Mon May 15 2006 Tim Waugh <twaugh@redhat.com> 5.95-2
|
* Mon May 15 2006 Tim Waugh <twaugh@redhat.com> 5.95-2
|
||||||
- 5.95.
|
- 5.95.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user