diff options
Diffstat (limited to 'lib/libX11/modules/lc/gen/lcGenConv.c')
-rw-r--r-- | lib/libX11/modules/lc/gen/lcGenConv.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/libX11/modules/lc/gen/lcGenConv.c b/lib/libX11/modules/lc/gen/lcGenConv.c index 074a8d726..4f26cb86c 100644 --- a/lib/libX11/modules/lc/gen/lcGenConv.c +++ b/lib/libX11/modules/lc/gen/lcGenConv.c @@ -764,8 +764,10 @@ mbstowcs_org( return( 0 ); } +#ifdef notdef if (*from_left > *to_left) *from_left = *to_left; +#endif while (*from_left && *to_left) { @@ -921,8 +923,10 @@ wcstombs_org( int defstr_len = strlen(default_string); +#ifdef notdef if (*from_left > *to_left) *from_left = *to_left; +#endif while (*from_left && *to_left) { @@ -1080,8 +1084,10 @@ wcstocts( int from_size = *from_left; char *ext_seg_len = NULL; +#ifdef notdef if (*from_left > *to_left) *from_left = *to_left; +#endif while (*from_left && *to_left) { @@ -1272,8 +1278,10 @@ ctstowcs( return( 0 ); } +#ifdef notdef if (*from_left > *to_left) *from_left = *to_left; +#endif while (*from_left && *to_left) { @@ -1666,8 +1674,10 @@ mbstostr( return( 0 ); } +#ifdef notdef if (*from_left > *to_left) *from_left = *to_left; +#endif while (*from_left && *to_left) { @@ -1784,8 +1794,10 @@ mbtocs( return( 0 ); } +#ifdef notdef if (*from_left > *to_left) *from_left = *to_left; +#endif while (*from_left && *to_left) { @@ -1960,8 +1972,10 @@ wcstostr( int defstr_len = strlen(default_string); +#ifdef notdef if (*from_left > *to_left) *from_left = *to_left; +#endif while (*from_left && *to_left) { @@ -2117,8 +2131,10 @@ wctocs( char *outbufptr = *to; int from_size = *from_left; +#ifdef notdef if (*from_left > *to_left) *from_left = *to_left; +#endif if (*from_left && *to_left) { @@ -2430,8 +2446,10 @@ strtombs( char *outbufptr = *to; int from_size = *from_left; +#ifdef notdef if (*from_left > *to_left) *from_left = *to_left; +#endif while (*from_left && *to_left) { @@ -2540,8 +2558,10 @@ strtowcs( wchar_t *outbufptr = (wchar_t *)*to; int from_size = *from_left; +#ifdef notdef if (*from_left > *to_left) *from_left = *to_left; +#endif while (*from_left && *to_left) { |