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

exec - foo doesn't exec



% exec - foo

doesn't exec foo.  The trivial fix enclosed.

Zoltan


*** 1.4	1995/09/22 18:56:36
--- Src/parse.c	1995/10/02 20:54:53
***************
*** 906,912 ****
  	else if (tok == NOCORRECT)
  	    nocorrect = 1;
  	else if (tok == DASH)
! 	    c->flags = CFLAG_DASH;
  	else if (tok == ENVSTRING) {
  	    struct varasg *v = (struct varasg *)make_varnode();
  
--- 906,912 ----
  	else if (tok == NOCORRECT)
  	    nocorrect = 1;
  	else if (tok == DASH)
! 	    c->flags |= CFLAG_DASH;
  	else if (tok == ENVSTRING) {
  	    struct varasg *v = (struct varasg *)make_varnode();
  



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