diff options
author | Pavel Raiskup <praiskup@redhat.com> | 2014-07-28 15:51:13 +0200 |
---|---|---|
committer | Pavel Raiskup <praiskup@redhat.com> | 2014-07-28 16:00:39 +0200 |
commit | de6fcbdb464b70b4b826bf9716e550e5c4a08c0d (patch) | |
tree | d1af2b87ca1ee88fb898e8d6953db5d83815b139 /tcsh-6.18.02-unprintable.patch | |
parent | b6eaa4ebf20e0314f16514a1d36e2e7ade46718c (diff) | |
download | tcsh-rebase-6.19.00-de6fcbdb464b70b4b826bf9716e550e5c4a08c0d.tar.gz tcsh-rebase-6.19.00-de6fcbdb464b70b4b826bf9716e550e5c4a08c0d.tar.xz tcsh-rebase-6.19.00-de6fcbdb464b70b4b826bf9716e550e5c4a08c0d.zip |
rebase: to beta version (testing purposes only)
Some changes in packaging:
- %patch ~> %autosetup (git format-patch diff format)
- using upstream version of history file locking
- upstream testsuite enabled
Version: 6.18.02-1
Diffstat (limited to 'tcsh-6.18.02-unprintable.patch')
-rw-r--r-- | tcsh-6.18.02-unprintable.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tcsh-6.18.02-unprintable.patch b/tcsh-6.18.02-unprintable.patch new file mode 100644 index 0000000..57a85ad --- /dev/null +++ b/tcsh-6.18.02-unprintable.patch @@ -0,0 +1,28 @@ +From 1889ef9407bbe8e3db1f4b88d1bc437b31a7d8d0 Mon Sep 17 00:00:00 2001 +From: vcrhonek <vcrhonek@fedoraproject.org> +Date: Thu, 24 Jul 2014 17:37:45 +0200 +Subject: [PATCH 3/8] fix unprintable (#233525) + +original dist-git commit: cd7e072c + +--- + tw.parse.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/tw.parse.c b/tw.parse.c +index 186fdb5..8af3c50 100644 +--- a/tw.parse.c ++++ b/tw.parse.c +@@ -2169,7 +2169,8 @@ print_by_column(Char *dir, Char *items[], int count, int no_file_suffix) + (Strchr(val, 'x') != NULL); + + for (i = 0; i < count; i++) { /* find widest string */ +- maxwidth = max(maxwidth, (unsigned int) NLSStringWidth(items[i])); ++ if (NLSStringWidth(items[i]) != -1) ++ maxwidth = max(maxwidth, (unsigned int) NLSStringWidth(items[i])); + } + + maxwidth += no_file_suffix ? 1 : 2; /* for the file tag and space */ +-- +1.9.3 + |