From: Zoltan Hidvegi <hzoli@cs.elte.hu>
To: pws@ifh.de (Peter Stephenson)
Cc: zsh-workers@math.gatech.edu
Subject: Re: getzlequery
Date: Tue, 15 Oct 1996 23:05:13 +0200 (MET DST) [thread overview]
Message-ID: <199610152105.XAA12164@bolyai.cs.elte.hu> (raw)
In-Reply-To: <199610151351.PAA16223@hydra.ifh.de> from Peter Stephenson at "Oct 15, 96 03:51:27 pm"
Peter Stephenson wrote:
> I'm getting a `test is always zero' message from getlzlequery() in
> zle_utils.c due to testing whether a char is EOF. This is something
> to do with:
>
> * Src/utils.c: getquery always returned n on cray-unicos. From
> Richard D. Slater (2136)
I do not see the relation between these. However the patch below should fix
that.
Zoltan
--- Src/zle_utils.c 1996/10/15 20:16:35 2.14
+++ Src/zle_utils.c 1996/10/15 20:59:31
@@ -309,7 +309,7 @@
int
getzlequery(void)
{
- char c;
+ int c;
#ifdef FIONREAD
int val;
@@ -332,5 +332,5 @@
/* echo response and return */
putc(c, shout);
- return (int)c;
+ return c;
}
prev parent reply other threads:[~1996-10-15 21:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-10-15 13:51 getzlequery Peter Stephenson
1996-10-15 21:05 ` Zoltan Hidvegi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199610152105.XAA12164@bolyai.cs.elte.hu \
--to=hzoli@cs.elte.hu \
--cc=pws@ifh.de \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).