zsh-workers
 help / color / mirror / code / Atom feed
From: Andrew Main <zefram@tao.co.uk>
To: zsh-workers@math.gatech.edu
Subject: PATCH: CHASE_LINKS fix
Date: Mon, 27 Apr 1998 10:18:42 +0100	[thread overview]
Message-ID: <199804270918.KAA25045@diamond.tao.co.uk> (raw)

-----BEGIN PGP SIGNED MESSAGE-----

zsh's pwd code is that dangerous combination: so appalling that you
feel compelled to rip it out and start from scratch, but so amazingly
clever that it can't just be reimplemented in a couple of afternoons.
A lot of programs such as sendmail stick around for much this reason.
Any volunteers?

 *** Src/utils.c	1998/03/22 19:43:01	1.88
 --- Src/utils.c	1998/04/25 17:54:46
 ***************
 *** 362,368 ****
       if (*s != '/')
   	return NULL;
       *xbuf = '\0';
 !     if (xsymlinks(s + 1, 1))
   	return ztrdup(s);
       if (!*xbuf)
   	return ztrdup("/");
 --- 362,368 ----
       if (*s != '/')
   	return NULL;
       *xbuf = '\0';
 !     if (!xsymlinks(s + 1, 1))
   	return ztrdup(s);
       if (!*xbuf)
   	return ztrdup("/");

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: ascii

iQEVAwUBNUJr5Jmk9GeOHh7BAQFcOgf/Uinif0Sq95PbhUjYBmHQtLokU3OLe7Uz
3oOPs3EJZll//rWhWA17WNok3t7Qoq3xZD4PFPiBU6SDGk4305EmHdBiDbMMKNoG
X8VMEswDgdhmHS0KHuE/ZGgyTSM7a0YKzrs/iCXDPHtv39Q0+6cNxPPcypSG+upe
Y/bBWVbyKNGh/ZIhG6af0VY3LdMYc3mLL9nL+1NPcEGR/MggXVdV1gpYuur32aDs
lXrtbSzj6OLmt0UMk843AUtGCkzOcs4vHrUngQO+KpXA+RYKKhTL8/JpWm/ZJaSf
mB1viV0oI4GQ14ml1PqENcXPrYKO1mIwEXWbY9ai7nSy3UpQMvdxjw==
=S80k
-----END PGP SIGNATURE-----


                 reply	other threads:[~1998-04-27  9:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=199804270918.KAA25045@diamond.tao.co.uk \
    --to=zefram@tao.co.uk \
    --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).