[BusyBox] Re: busybox sh and German characters
Vladimir N. Oleynik
dzo at simtreas.ru
Tue Mar 27 16:49:31 UTC 2001
Mark,
> On Tue, Mar 27, 2001 at 12:28:45AM -0800, Ralph Jones wrote:
> > Thanks, that worked. Do you put it in to CVS?
>
> I just checked Vladimir's patch into CVS. Grab the latest, try it, and let me
> post any problems to the list.
Oh, my first variant is broken.
Last variant is true.
Please correct in CVS from last message in this tread.
Hint:
-if(strncmp(v, "LC_CTYPE=", 7)==0)
+if(strncmp(v, "LC_CTYPE=", 9)==0)
Also. I think require generate new option: BB_SUPPORT_LOCALE and apply this
handpatch to busybox.c:
#ifdef BB_SUPPORT_LOCALE
#include <locale.h>
#endif
main()
{
initialization stuff;
#ifdef BB_SUPPORT_LOCALE
setlocale(LC_ALL, "");
#endif
}
> > I also wonder why this hasn't come up before, since Lineo seem to be active
> > in Germany.
>
> Thanks for the patch, Vladimir.
Hmm. This only bug-reaction. Not complete work with localization.
Im very busy for generate complete patch.
--w
vodz
More information about the busybox
mailing list