[PATCH/RFA] Internationalize ctype functionality

Antony King antony.king@st.com
Fri Jun 18 15:06:00 GMT 2010


Hi,

I have a customer complaining that some static libraries (supplied by a
3rd party) that had been built using the headers from an older version
of newlib (1.16.0) no longer link with the latest version of newlib
(1.18.0) due to the deletion of the __ctype_ptr variable from ctype_.c
due to the following change:

On 26/03/2009 21:01, Corinna Vinschen wrote:
> - I removed __ctype_ptr (no trailing underscores) and only kept
>   __ctype_ptr__.  __ctype_ptr was never used in Cygwin and AFAIK we have
>   no other dynamically linking target for newlib which has to maintain
>   backward compatibility.

(see http://sourceware.org/ml/newlib/2009/msg00370.html)

Would it be safe to re-introduce the definition of this variable back
into ctype_.c with the attached patch ?

[I know this query is coming long since the change was made but this
issue has only just come to light :-(.]

Cheers,

Antony.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: newlib.patch
URL: <http://sourceware.org/pipermail/newlib/attachments/20100618/94d7693a/attachment.ksh>


More information about the Newlib mailing list