Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Latest CVS + ZLE_UNICODE_SUPPORT on RHEL3
- X-seq: zsh-workers 20833
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Latest CVS + ZLE_UNICODE_SUPPORT on RHEL3
- Date: Mon, 21 Feb 2005 10:56:23 +0000
- In-reply-to: <1050218220111.ZM20883@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <1050218220111.ZM20883@xxxxxxxxxxxxxxxxxxxxxxx>
Bart Schaefer wrote:
> I tried defining ZLE_UNICODE_SUPPORT and building on RHEL3 (really CentOS,
> but that shouldn't matter)
Generally speaking, I'm not that suprised, since there are large numbers
of odds and ends still to clear up (I haven't tried turning it on yet).
> and the build died on a syntax error in zle.h
> (apparently the "int_t" typedef does not exist?).
That should have been wint_t. That's guaranteed to hold either a
wchar_t or a WEOF.
Clint and I have added various type and functions like this without there
being any tests in configure: this is one reason we're currently relying
on the compiler offering support. If we want to relax that assumption
later, we'll probably have to work out what to do if wchar_t is defined
and wint_t isn't, etc. I suppose the answer in this case is probably
just stick with wchar_t. But that's all Zukunftsmusik.
Index: Src/Zle/zle.h
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Zle/zle.h,v
retrieving revision 1.7
diff -u -r1.7 zle.h
--- Src/Zle/zle.h 18 Feb 2005 13:57:28 -0000 1.7
+++ Src/Zle/zle.h 21 Feb 2005 10:49:02 -0000
@@ -30,7 +30,7 @@
#ifdef ZLE_UNICODE_SUPPORT
typedef wchar_t ZLE_CHAR_T;
typedef wchar_t *ZLE_STRING_T;
-typedef int_t ZLE_INT_T;
+typedef wint_t ZLE_INT_T;
#define ZLE_CHAR_SIZE sizeof(wchar_t)
/*
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
Messages sorted by:
Reverse Date,
Date,
Thread,
Author