zsh-workers
 help / color / mirror / code / Atom feed
From: Zoltan Hidvegi  <hzoli@cs.elte.hu>
To: coleman@math.gatech.edu (Richard Coleman)
Cc: zsh-workers@math.gatech.edu (zsh-workers)
Subject: Re: still bugs with 8-bit chars :-(
Date: Wed, 18 Oct 1995 13:47:25 +0100 (MET)	[thread overview]
Message-ID: <199510181247.NAA31596@bolyai.cs.elte.hu> (raw)
In-Reply-To: <9510180442.AA24279@redwood.skiles.gatech.edu> from "Richard Coleman" at Oct 18, 95 00:42:49 am

Richard wrote:
> Since we already casting anyway, wouldn't the line
> 
>     return lastc = (int)(unsigned short)*inbufptr++;
> 
> do just as well.  I don't ever use 8-bit characters, so I not
> positive about this.

Yes, that should work as well.  Even a simple (unsigned)*inbufptr++ should
work, as this can be seen in hist.c near line 289.

Cheers,
   Zoltan


      reply	other threads:[~1995-10-18 12:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-10-17 12:46 Carlos Carvalho
1995-10-17 15:02 ` Zoltan Hidvegi
1995-10-17 21:48   ` Carlos Carvalho
1995-10-18  4:42   ` Richard Coleman
1995-10-18 12:47     ` 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=199510181247.NAA31596@bolyai.cs.elte.hu \
    --to=hzoli@cs.elte.hu \
    --cc=coleman@math.gatech.edu \
    --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).