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

bad bindkey bug



2.6-beta11-test10 dumps core when listing a complete set of key
bindings.  Looking at it, I doubt if this is due to any of the
fiddling around I've been doing.

*** Src/zle_main.c~	Tue Oct 24 17:11:52 1995
--- Src/zle_main.c	Fri Oct 27 10:17:12 1995
***************
*** 836,842 ****
  {
      int len;
  
!     if (k->func == z_undefinedkey)
  	return;
      putc('\"', bindout);
      printbind(str, (len = strlen(str)) ? len : 1);
--- 836,842 ----
  {
      int len;
  
!     if (!k || k->func == z_undefinedkey)
  	return;
      putc('\"', bindout);
      printbind(str, (len = strlen(str)) ? len : 1);


-- 
Peter Stephenson <pws@xxxxxx>       Tel: +49 33762 77366
WWW:  http://www.ifh.de/~pws/       Fax: +49 33762 77330
Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.



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