* PATCH: CHASE_LINKS fix
@ 1998-04-27 9:18 Andrew Main
0 siblings, 0 replies; only message in thread
From: Andrew Main @ 1998-04-27 9:18 UTC (permalink / raw)
To: zsh-workers
-----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-----
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-04-27 9:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-04-27 9:18 PATCH: CHASE_LINKS fix Andrew Main
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).