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

Re: twiddle-number problem?



"Bart Schaefer" wrote:
> I can't find anything that the following patch breaks (except a directory
> stack 1000+ levels deep).  Can anyone else?

Actually, anyone with 1000 levels is presumably not going to be fazed
by having to type ~+1000, so I don't even think that's an objection.

> *** Src/subst.c.0	Mon Sep 23 22:04:54 1996
> --- Src/subst.c	Thu Sep 26 10:13:40 1996
> ...
> ! 	} else if (idigit(str[1]) &&   			/* ~42 */
> ! 		   (isend(str[2]) ||
> ! 		    (idigit(str[2]) &&
> ! 		     (isend(str[3]) ||
> ! 		      (idigit(str[3]) &&
> ! 		       isend(str[4]))))) {
> ...

Oops, there's a close parenthesis missing in that list line.

-- 
Peter Stephenson <pws@xxxxxx>       Tel: +49 33762 77366
WWW:  http://www.ifh.de/~pws/       Fax: +49 33762 77330
Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.



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