zsh-workers
 help / color / mirror / code / Atom feed
From: Zefram <zefram@dcs.warwick.ac.uk>
To: jae@laden.ilk.de (Juergen A. Erhard)
Cc: zsh-workers@math.gatech.edu
Subject: Re: whence following symlinks
Date: Fri, 11 Apr 1997 15:10:01 +0100 (BST)	[thread overview]
Message-ID: <807.199704111410@stone.dcs.warwick.ac.uk> (raw)
In-Reply-To: <199704102104.UAA00359@Laden2.ilk.de> from "Juergen A. Erhard" at Apr 10, 97 08:04:30 pm

Juergen A. Erhard wrote:
>Unfortunately, 'whence -ms' doesn't work as expected, because '-m'
>jumps to a different code section, and that code doesn't care for
>'-s'.

You could duplicate the new code, or use the hashtable printnode() method.

>! 		/* temporarily set CHASELINKS */
>! 		chase = isset(CHASELINKS);
>! 		dosetopt(CHASELINKS, 1, 0);
...
>! 		/* revert setting of CHASELINKS */
>! 		dosetopt(CHASELINKS, chase, 0);

Do

	chase = opts[CHASELINKS];
	opts[CHASELINKS] = 1;
	...
	opts[CHASELINKS] = chase;

>! 		/* throw away try_link... hope this is the right fn */
>! 		zsfree(try_link);

It is the right function.

-zefram


  reply	other threads:[~1997-04-11 14:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-04-10 21:04 Juergen A. Erhard
1997-04-11 14:10 ` Zefram [this message]
1997-04-21 14:34   ` Juergen A. Erhard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=807.199704111410@stone.dcs.warwick.ac.uk \
    --to=zefram@dcs.warwick.ac.uk \
    --cc=jae@laden.ilk.de \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).