tcsh-6.19.00-019-fix-uninitialized-estr.patch added
> Fix uninitialized estr (Holger Seidel)
This commit is contained in:
parent
d8b6dd5802
commit
31fe79e534
25
tcsh-6.19.00-019-fix-uninitialized-estr.patch
Normal file
25
tcsh-6.19.00-019-fix-uninitialized-estr.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From 86f1ca6000f81be5b3401a2ec102521cb612a518 Mon Sep 17 00:00:00 2001
|
||||
From: christos <christos>
|
||||
Date: Wed, 30 Sep 2015 13:28:02 +0000
|
||||
Subject: [PATCH] Fix uninitialized estr (Holger Seidel)
|
||||
|
||||
---
|
||||
tw.comp.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tw.comp.c b/tw.comp.c
|
||||
index 03da837..4b4d2ce 100644
|
||||
--- a/tw.comp.c
|
||||
+++ b/tw.comp.c
|
||||
@@ -251,7 +251,7 @@ static int
|
||||
tw_match(const Char *str, const Char *pat, int exact)
|
||||
{
|
||||
const Char *estr;
|
||||
- int rv = exact ? Gmatch(str, pat) : Gnmatch(str, pat, &estr);
|
||||
+ int rv = exact ? Gmatch(estr = str, pat) : Gnmatch(str, pat, &estr);
|
||||
#ifdef TDEBUG
|
||||
xprintf("G%smatch(%s, ", exact ? "" : "n", short2str(str));
|
||||
xprintf("%s, ", short2str(pat));
|
||||
--
|
||||
2.5.5
|
||||
|
@ -47,6 +47,7 @@ Patch015: tcsh-6.19.00-015-set-LC_COLLATE-to-C-and-add-HTML-makefile.patch
|
||||
Patch016: tcsh-6.19.00-016-do-not-quote-name-expanded-by-completion.patch
|
||||
Patch017: tcsh-6.19.00-017-fix-for-finnish-translations.patch
|
||||
Patch018: tcsh-6.19.00-018-add-noclobber-and-ask-options.patch
|
||||
Patch019: tcsh-6.19.00-019-fix-uninitialized-estr.patch
|
||||
|
||||
|
||||
# Downstream patches -- these should be always included when doing rebase:
|
||||
@ -186,6 +187,7 @@ fi
|
||||
tcsh-6.19.00-016-do-not-quote-name-expanded-by-completion.patch
|
||||
tcsh-6.19.00-017-fix-for-finnish-translations.patch
|
||||
tcsh-6.19.00-018-add-noclobber-and-ask-options.patch
|
||||
tcsh-6.19.00-019-fix-uninitialized-estr.patch
|
||||
|
||||
* 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
|
||||
|
Loading…
Reference in New Issue
Block a user