FreeBSD Bugzilla – Attachment 86964 Details for
Bug 123490
[PATCH] shells/zsh: Fix segmentation fault on completion
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
zsh-4.3.6_1.patch
zsh-4.3.6_1.patch (text/plain), 1.42 KB, created by
Renato Botelho
on 2008-05-07 14:30:01 UTC
(
hide
)
Description:
zsh-4.3.6_1.patch
Filename:
MIME Type:
Creator:
Renato Botelho
Created:
2008-05-07 14:30:01 UTC
Size:
1.42 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/pcvs/ports/shells/zsh/Makefile,v >retrieving revision 1.94 >diff -u -u -r1.94 Makefile >--- Makefile 6 May 2008 11:52:45 -0000 1.94 >+++ Makefile 7 May 2008 13:27:31 -0000 >@@ -22,6 +22,7 @@ > > PORTNAME= zsh > PORTVERSION= 4.3.6 >+PORTREVISION= 1 > CATEGORIES= shells > MASTER_SITES= SF > .if !defined(NOPORTDOCS) >Index: files/patch-Src_Zle_compresult.c >=================================================================== >RCS file: files/patch-Src_Zle_compresult.c >diff -N files/patch-Src_Zle_compresult.c >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/patch-Src_Zle_compresult.c 7 May 2008 13:27:31 -0000 >@@ -0,0 +1,28 @@ >+--- Src/Zle/compresult.c.orig 2008-05-07 10:19:11.000000000 -0300 >++++ Src/Zle/compresult.c 2008-05-07 10:19:35.000000000 -0300 >+@@ -1188,6 +1188,12 @@ >+ { >+ int was_meta; >+ >++ /* Just list the matches if the list was requested. */ >++ if (lst == COMP_LIST_COMPLETE) { >++ showinglist = -2; >++ return; >++ } >++ >+ /* Already metafied when called from domenuselect already */ >+ if (zlemetaline == NULL) { >+ was_meta = 0; >+@@ -1195,12 +1201,6 @@ >+ } else >+ was_meta = 1; >+ >+- /* Just list the matches if the list was requested. */ >+- if (lst == COMP_LIST_COMPLETE) { >+- showinglist = -2; >+- return; >+- } >+- >+ /* Otherwise go to the next match in the array... */ >+ do { >+ if (!*++(minfo.cur)) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 123490
: 86964