Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: 3.1.5: bad handling of 8 bit character
- X-seq: zsh-workers 4612
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx (Zsh hackers list), Marc Baudoin <babafou@xxxxxxxxxxxxxx>
- Subject: PATCH: 3.1.5: bad handling of 8 bit character
- Date: Thu, 12 Nov 1998 14:12:41 +0100
- In-reply-to: "Marc Baudoin"'s message of "Wed, 11 Nov 1998 15:23:26 NFT." <19981111152326.A327@xxxxxxxxxxxxxxxxxxxx>
Marc Baudoin wrote:
> Hi,
>
> I've upgraded from zsh 3.0.5 to try zsh 3.1.5 and I noticed two
> problems.
>
> The new zsh seems to have problems with files whose name contains
> non ASCII characters:
I suspect this was my fault last time I fiddled with input.c. It only
shows up on machines where char is signed, so I didn't notice it. At
least, this seems to do the trick for SUNOS, where I was seeing the
problem.
*** Src/input.c.lastc Sat Sep 26 19:02:15 1998
--- Src/input.c Thu Nov 12 14:18:23 1998
***************
*** 176,182 ****
int
ingetc(void)
{
! char lastc;
if (lexstop)
return ' ';
--- 176,182 ----
int
ingetc(void)
{
! int lastc;
if (lexstop)
return ' ';
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarotti 2, 56100 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author