From 6c1fb551ba0973c9a86e1ea479d553d66c6bf6b7 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 15 Apr 1999 18:24:09 +0000 Subject: zsh-3.1.5-pws-14 --- Src/Zle/comp1.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'Src/Zle/comp1.c') diff --git a/Src/Zle/comp1.c b/Src/Zle/comp1.c index 29836fbac..904f66305 100644 --- a/Src/Zle/comp1.c +++ b/Src/Zle/comp1.c @@ -52,10 +52,10 @@ void (*comp_setunsetptr) _((int, int)); /* pointers to functions required by compctl and defined by zle */ /**/ -int (*addmatchesptr) _((char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, int, int, Cmatcher, char *, char **)); +int (*addmatchesptr) _((char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, int, int, Cmatcher, char *, char **)); /**/ -char *(*comp_strptr) _((int*, int*, int)); +char *(*comp_strptr) _((int *, int *, int)); /**/ int (*getcpatptr) _((char *, int, char *, int)); @@ -66,6 +66,9 @@ int (*makecomplistcallptr) _((Compctl)); /**/ int (*makecomplistctlptr) _((int)); +/**/ +char *(*unambig_dataptr) _((int *)); + /* Hash table for completion info for commands */ /**/ @@ -107,6 +110,7 @@ char **compwords, *compprefix, *compsuffix, *compiprefix, + *compisuffix, *compmatcherstr, *compcontext, *compparameter, @@ -119,7 +123,8 @@ char **compwords, *compinsert, *compexact, *compexactstr, - *comppatmatch; + *comppatmatch, + *comppatinsert; /**/ Param *comppms; @@ -430,10 +435,11 @@ setup_comp1(Module m) cc_first.mask2 = CC_CCCONT; comppms = NULL; compwords = NULL; - compprefix = compsuffix = compiprefix = compmatcherstr = + compprefix = compsuffix = compiprefix = compisuffix = compmatcherstr = compcontext = compparameter = compredirect = compquote = compquoting = comprestore = complist = compinsert = - compexact = compexactstr = comppatmatch = compforcelist = NULL; + compexact = compexactstr = comppatmatch = comppatinsert = + compforcelist = NULL; makecompparamsptr = NULL; comp_setunsetptr = NULL; return 0; @@ -466,6 +472,7 @@ finish_comp1(Module m) zsfree(compprefix); zsfree(compsuffix); zsfree(compiprefix); + zsfree(compisuffix); zsfree(compmatcherstr); zsfree(compcontext); zsfree(compparameter); @@ -479,6 +486,7 @@ finish_comp1(Module m) zsfree(compexact); zsfree(compexactstr); zsfree(comppatmatch); + zsfree(comppatinsert); return 0; } -- cgit 1.4.1