Locale problems on Solaris

Dan Astoorian djast at cs.toronto.edu
Thu Feb 28 03:28:22 EST 2002


On Wed, 27 Feb 2002 05:59:12 EST, Scot Elliott writes:
> Actually from a quick truss of a telnetd process, it seems it calls
> setlocale().  I'd suggest that's the way to go rather than reading in
> /etc/default/init.

I don't think setlocale() solves the problem.  I believe it's the case
that setlocale(LC_...,"") uses the LC_*/LANG environment variables (as
opposed to setting them); and that nothing setlocale() does is inherited
through an exec*() call.

-- 
Dan Astoorian               People shouldn't think that it's better to have
Sysadmin, CSLab             loved and lost than never loved at all.  It's
djast at cs.toronto.edu        not, it's better to have loved and won.  All
www.cs.toronto.edu/~djast/  the other options really suck.    --Dan Redican



More information about the openssh-unix-dev mailing list