Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: CHASE_LINKS fix



-----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-----



Messages sorted by: Reverse Date, Date, Thread, Author