tcsh-6.14.00-unprintable.patch removed

The issue solved with this patch is not reproducible with 6.19.00
  upstream version of tcsh. It was most likely fixed/mitigated as a
  side-effect of some commit in the upstream.
This commit is contained in:
David Kaspar [Dee'Kej] 2016-04-21 13:26:16 +02:00
parent 44ad64e52b
commit af5610a4bd
2 changed files with 1 additions and 29 deletions

View File

@ -1,29 +0,0 @@
From 73c378eee326ea117c7acc4655e89529a4171f92 Mon Sep 17 00:00:00 2001
From: vcrhonek <vcrhonek@fedoraproject.org>
Date: Wed, 27 Aug 2014 13:36:26 +0200
Subject: [PATCH 03/14] fix unprintable
original dist-git commit: cd7e072c
Resolves: #233525
---
tw.parse.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tw.parse.c b/tw.parse.c
index dc32dba..d05ceb8 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

View File

@ -150,6 +150,7 @@ fi
%changelog
* Thu Apr 21 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 6.19.00-6
- Drop tcsh-6.15.00-closem.patch - issue not reproducible, patch not accepted by upstream
- Drop tcsh-6.14.00-unprintable.patch - issue not reproducible with 6.19.00 upstream version
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.19.00-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild