tcsh-6.14.00-syntax.patch removed
This patch breaks things more common than the issue it solves. See: http://mx.gw.com/pipermail/tcsh-bugs/2016-April/001030.html Bottom-line is: tcsh can't process its keywords in HERE-DOC correctly, and most likely it will never be possible to fix/solve this.
This commit is contained in:
parent
af5610a4bd
commit
a28f366dd8
@ -1,60 +0,0 @@
|
||||
From 782530170fd28668a2ae0c43a03bb339aaf0df70 Mon Sep 17 00:00:00 2001
|
||||
From: vcrhonek <vcrhonek@fedoraproject.org>
|
||||
Date: Wed, 27 Aug 2014 13:43:01 +0200
|
||||
Subject: [PATCH 05/14] while loop counting
|
||||
|
||||
Fix tcsh scripts with multiple case statement with end keywords
|
||||
break with error.
|
||||
|
||||
praiskup: TODO:
|
||||
This patch reverts upstream commit a973723e from 2004-05-13. We
|
||||
should make sure that this is going to be fixed properly upstream.
|
||||
|
||||
Resolves: #253247
|
||||
original dist-git commit: 1bcd8ea591286664483d0aea2601a8729eb6b81f
|
||||
|
||||
---
|
||||
sh.func.c | 13 -------------
|
||||
1 file changed, 13 deletions(-)
|
||||
|
||||
diff --git a/sh.func.c b/sh.func.c
|
||||
index d3b890f..869de12 100644
|
||||
--- a/sh.func.c
|
||||
+++ b/sh.func.c
|
||||
@@ -754,8 +754,6 @@ search(int type, int level, Char *goal)
|
||||
{
|
||||
struct Strbuf word = Strbuf_INIT;
|
||||
Char *cp;
|
||||
- struct whyle *wp;
|
||||
- int wlevel = 0;
|
||||
struct wordent *histent = NULL, *ohistent = NULL;
|
||||
|
||||
Stype = type;
|
||||
@@ -813,24 +811,13 @@ search(int type, int level, Char *goal)
|
||||
|
||||
case TC_FOREACH:
|
||||
case TC_WHILE:
|
||||
- wlevel++;
|
||||
if (type == TC_BREAK)
|
||||
level++;
|
||||
break;
|
||||
|
||||
case TC_END:
|
||||
- if (type == TC_BRKSW) {
|
||||
- if (wlevel == 0) {
|
||||
- wp = whyles;
|
||||
- if (wp) {
|
||||
- whyles = wp->w_next;
|
||||
- wpfree(wp);
|
||||
- }
|
||||
- }
|
||||
- }
|
||||
if (type == TC_BREAK)
|
||||
level--;
|
||||
- wlevel--;
|
||||
break;
|
||||
|
||||
case TC_SWITCH:
|
||||
--
|
||||
1.9.3
|
||||
|
@ -151,6 +151,7 @@ fi
|
||||
* 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
|
||||
- Drop tcsh-6.14.00-syntax.patch - patch not accepted by upstream, breaks other things
|
||||
|
||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.19.00-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
Loading…
Reference in New Issue
Block a user