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

An important fux to hzoli10



With zsh-2.6-beta10-hzoli10 or zsh-2.6-beta10-hzoli10.1:

% cat =(echo hehe)
zsh: oops.


This is caused by an old bug, which was invisible before Peter's input
patches. The old history code discarded all tokens from a string staffed to
the input buffer by hungets(). This is no longer true with the new input
routines.

Bye,
  Zoltan

*** 1.11	1995/07/07 16:57:45
--- Src/exec.c	1995/07/14 13:09:36
***************
*** 1898,1904 ****
  	return NULL;
      }
      *str = '\0';
!     if (str[1] || !(list = parselstring(cmd))) {
  	zerr("parse error in process substitution", NULL, 0);
  	return NULL;
      }
--- 1898,1904 ----
  	return NULL;
      }
      *str = '\0';
!     if (str[1] || !(list = parselstring(cmd + 2))) {
  	zerr("parse error in process substitution", NULL, 0);
  	return NULL;
      }



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