Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: fix for extended completion (was: Re: cdablevars and cd completion in 3.1.5)



Hi

Having a look at the things mentioned in the mail with the above
subject I found a little bug in zle_tricky.c.


Bye
 Sven

*** os/Zle/zle_tricky.c	Thu Dec  3 09:10:34 1998
--- Src/Zle/zle_tricky.c	Thu Dec  3 09:11:43 1998
***************
*** 3333,3339 ****
  			break;
  		    case CCT_CURSUB:
  		    case CCT_CURSUBC:
! 			if (clwpos < 0 || clwpos > clwnum)
  			    t = 0;
  			else {
  			    a = getcpat(clwords[clwpos],
--- 3333,3339 ----
  			break;
  		    case CCT_CURSUB:
  		    case CCT_CURSUBC:
! 			if (clwpos < 0 || clwpos >= clwnum)
  			    t = 0;
  			else {
  			    a = getcpat(clwords[clwpos],

--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author