Glenn Fowler wrote:
> On Thu, 19 Apr 2007 19:28:33 +0200 Roland Mainz wrote:
> > Glenn Fowler wrote:
> > > > Example:
> > > > -- snip --
> > > > $ set | /usr/xpg4/bin/egrep "LC_|LANG"
> > > > LANG=en_US.UTF-8
> > > > LC_COLLATE=en_US.UTF-8
> > > > LC_CTYPE=en_US.UTF-8
> > > > LC_MESSAGES=en_US.UTF-8
> > > > LC_MONETARY=en_US.UTF-8
> > > > LC_NUMERIC=en_US.UTF-8
> > > > $ (export LC_ALL=ja_JP.UTF-8 ; man ls)
> > > > # view manual page in japanese
> > > > $ foo
> > > > /bin/ksh93: foo: not found [<japanese characters here>]
> > > > -- snip --
> > [snip]
> > >
> > > I believe this had been fixed
> > > is /bin/ksh93 the most recent?
> > [snip]
> 
> > Yes, I tried it with the ast-ksh.2007-04-18 binary from Al Hoppers's
> > "ksh93-amd64" machine (it doesn't have any japanese lcoales installed
> > but "fr_CA.UTF-8" works as substitute, too (BTW: default locale for my
> > login session is "en_US.UTF-8" in this case)):
> > -- snip --
> > -bash-3.00$
> > /home/gisburn/ksh93/ast_ksh_20070418/build_i386_32bit/arch/sol11.i386/bin/ksh
> > -o gmacs
> > $ foo
> > /home/gisburn/ksh93/ast_ksh_20070418/build_i386_32bit/arch/sol11.i386/bin/ksh:
> > foo: not found [No such file or directory]
> > $ (export LC_ALL=fr_CA.UTF-8 ; man ls) >/dev/null
> > Mise en page en cours.  Veuillez patienter... termin?
> > $ foo
> > /home/gisburn/ksh93/ast_ksh_20070418/build_i386_32bit/arch/sol11.i386/bin/ksh:
> > foo: not found [Ce fichier ou ce r?pertoire n'existe pas]
> > $ export LC_ALL=en_US.UTF-8
> > $
> > foo
> > /home/gisburn/ksh93/ast_ksh_20070418/build_i386_32bit/arch/sol11.i386/bin/ksh:
> > foo: not found [No such file or directory]
> > -- snip --
[snip]
> I just got a fix from dgk for this
> I won't post until the other problems mentioned today are addressed

Just tested the problem with ast-ksh.2007-09-22 - it seems the problem
is still present... ;-(
-- snip --
$ (LC_ALL=ja_JP.UTF-8
true)                                               
$ xx
/home/test001/ksh93/ast_ksh_20070922/build_32bit/arch/sol11.i386/bin/ksh:
xx: not found [<japanese characters here>]
-- snip --

Cross-check: If I force the subshell to |fork()| it's own child process
(via the "ulimit" builtin) the problem goes away:
-- snip --
$ (ulimit -c 0 ; LC_ALL=ja_JP.UTF-8
true)                                 
$ xx
/home/test001/ksh93/ast_ksh_20070922/build_32bit/arch/sol11.i386/bin/ksh:
xx: not found [No such file or directory]
-- snip --

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)

Reply via email to