zsh-workers
 help / color / mirror / code / Atom feed
* which -s fix
@ 1997-05-09  7:58 Zoltan Hidvegi
  0 siblings, 0 replies; only message in thread
From: Zoltan Hidvegi @ 1997-05-09  7:58 UTC (permalink / raw)
  To: Zsh hacking and development

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;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-05-09  9:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-05-09  7:58 which -s fix Zoltan Hidvegi

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).