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

Re: PATCH: removed remhist()



Wayne Davison wrote:

> ...
> 
> +	    } while (isalpha(*b));

This gives me a `char used as subscript warning'.

Or is there a reason to use isalpha() instead of ialpha()?

Bye
 Sven

Index: Src/hist.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/hist.c,v
retrieving revision 1.17
diff -u -r1.17 hist.c
--- Src/hist.c	2000/07/20 17:00:19	1.17
+++ Src/hist.c	2000/07/31 08:10:54
@@ -980,7 +980,7 @@
 		    zsfree(t);
 		    return 1;
 		}
-	    } while (isalpha(*b));
+	    } while (ialpha(*b));
 	}
 	zsfree(t);
     }

--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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