From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 682 invoked from network); 9 May 1997 09:29:53 -0000 Received: from euclid.skiles.gatech.edu (root@130.207.146.50) by ns1.primenet.com.au with SMTP; 9 May 1997 09:29:53 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id DAA29865; Fri, 9 May 1997 03:55:22 -0400 (EDT) Resent-Date: Fri, 9 May 1997 03:55:22 -0400 (EDT) From: Zoltan Hidvegi Message-Id: <199705090758.DAA10440@hzoli.home> Subject: which -s fix To: zsh-workers@math.gatech.edu (Zsh hacking and development) Date: Fri, 9 May 1997 03:58:01 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"mk0HG.0.aI7.fXjSp"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/3099 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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;