* ctype.cc (__set_ctype): Copy exact part of the current active
character class array.
This commit is contained in:
parent
c28545227a
commit
27378802ea
@ -1,3 +1,8 @@
|
|||||||
|
2009-04-21 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* ctype.cc (__set_ctype): Copy exact part of the current active
|
||||||
|
character class array.
|
||||||
|
|
||||||
2009-04-20 Corinna Vinschen <corinna@vinschen.de>
|
2009-04-20 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* flock.cc (lf_setlock): Handle border case which results in WFMO loop
|
* flock.cc (lf_setlock): Handle border case which results in WFMO loop
|
||||||
|
@ -34,7 +34,7 @@ __set_ctype (const char *charset)
|
|||||||
if (CYGWIN_VERSION_CHECK_FOR_OLD_CTYPE)
|
if (CYGWIN_VERSION_CHECK_FOR_OLD_CTYPE)
|
||||||
{
|
{
|
||||||
memcpy (_ctype_b, __ctype_iso[idx], 128);
|
memcpy (_ctype_b, __ctype_iso[idx], 128);
|
||||||
memcpy (_ctype_b + 256, __ctype_iso[idx], 128);
|
memcpy (_ctype_b + 256, __ctype_iso[idx] + 256, 128);
|
||||||
}
|
}
|
||||||
__ctype_ptr__ = (char *) (__ctype_iso[idx] + 127);
|
__ctype_ptr__ = (char *) (__ctype_iso[idx] + 127);
|
||||||
return;
|
return;
|
||||||
@ -45,7 +45,7 @@ __set_ctype (const char *charset)
|
|||||||
if (CYGWIN_VERSION_CHECK_FOR_OLD_CTYPE)
|
if (CYGWIN_VERSION_CHECK_FOR_OLD_CTYPE)
|
||||||
{
|
{
|
||||||
memcpy (_ctype_b, __ctype_cp[idx], 128);
|
memcpy (_ctype_b, __ctype_cp[idx], 128);
|
||||||
memcpy (_ctype_b + 256, __ctype_cp[idx], 128);
|
memcpy (_ctype_b + 256, __ctype_cp[idx] + 256, 128);
|
||||||
}
|
}
|
||||||
__ctype_ptr__ = (char *) (__ctype_cp[idx] + 127);
|
__ctype_ptr__ = (char *) (__ctype_cp[idx] + 127);
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user