Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 11 Mar 2019 21:00:53 +0100
From: u-uy74@...ey.se
To: musl@...ts.openwall.com
Subject: Re: Slight improvement to __get_locale?

On Mon, Mar 11, 2019 at 01:45:31PM -0500, A. Wilcox wrote:
> Hi muslers,
> 
> We have a proposal to make locales work a tiny bit better on musl.
> Currently, there is no locale map file (which, there generally will
> never be one, until the rest of the locale system is overhauled and made
> more..public), and musl will simply let you setlocale(3) to anything.
> 
> Our proposal is that __get_locale could determine if any of the
> following paths exist:
> 
> /usr/share/locale/$foo
> /usr/share/locale/${foo/.//}

It does not look like there has been any dependency on this path in musl. (?)

Any added hardcoded path makes me uncomfortable. If not otherwise, it adds
a place to check while setting up builds and configurations and creates
uncertainty if there is someone else who can influence the contents
there in the future runtime environment.

Rune

[piggybacking ot: Rich, my off-list letter did not make it past your filters]

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.