Hi Stefan,

Stefan Sperling wrote on Thu, Nov 05, 2015 at 10:49:30PM +0100:
> On Thu, Nov 05, 2015 at 04:29:12PM +0100, Alexander Bluhm wrote:

>> After removing National Language Support (NLS) from base, I think
>> the directory /usr/share/nls should go.  Having a non-existing
>> default path in catopen(3) does not make sense, so I also removed
>> that.

> It sounds like not providing a default path violates POSIX.
> 
> """
> If NLSPATH does not exist in the environment, or if a message catalog
> cannot be found in any of the components specified by NLSPATH, then an
> implementation-defined default path shall be used.
> """"
> http://pubs.opengroup.org/onlinepubs/9699919799/functions/catopen.html
> 
> Do we care? Perhaps this detail is not important?

FWIW, i don't see anything that would disallow the implementation-defined
default path from being empty.

Besides, an empty default path has the same effect as a default
path consisting of empty directories, except that the former is
more efficient.  So even if somebody insists that an empty default
path is a POSIX violation, it doesn't seem to be an *observable*
violation.  No user is supposed to add files to /usr/share/; users
are only supposed to add files to /usr/local/.  So bluhm@'s diff
implies no functional change and makes sense to me.

Yours,
  Ingo

Reply via email to