Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: removed remhist()
- X-seq: zsh-workers 12439
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: removed remhist()
- Date: Mon, 31 Jul 2000 10:11:07 +0200 (MET DST)
- In-reply-to: Wayne Davison's message of Wed, 19 Jul 2000 14:30:58 -0700 (PDT)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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