Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
which -s fix
- X-seq: zsh-workers 3099
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx (Zsh hacking and development)
- Subject: which -s fix
- Date: Fri, 9 May 1997 03:58:01 -0400 (EDT)
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