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

which -s fix



I've just notices that there is a bug in which -s in zsh-3.1.2-test1.

Zoltan


*** Src/utils.c	1997/05/06 05:56:36	3.1.2.11
--- Src/utils.c	1997/05/09 07:55:47
***************
*** 369,374 ****
--- 369,375 ----
      if (*s == '/') {
  	chase = opts[CHASELINKS];
  	opts[CHASELINKS] = 1;
+ 	*xbuf = '\0';
  	if (xsymlinks(s + 1, 1))
  	    printf(" -> "), zputs(*xbuf ? xbuf : "/", stdout);
  	opts[CHASELINKS] = chase;



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