Danek Duvall wrote:
On Mon, Jun 22, 2009 at 01:53:19PM +0100, Padraig O'Briain wrote:

I have upgraded from OpenSolaris 2009.06 to build 116.

It seems that sort is behaving differently on build 116, at least
the order of the file src/pkgdefs/pkgproto is different.


I have double checked and the locale is en_US.UTF-8 in both cases.
I would be upset if they were not the same as it would suggest that my
default locale changed after the upgrade.

I understand that it is not a problem for our build but it still looks
that sort is behaving differently in build 111b and 116.

I was curious as to whether anyone else has experienced this.

Padraig

This looks a lot like you ran the two sorts in different locales.  In the
two that I use (C and en_US.UTF-8), the difference is mostly whether
uppercase letters sort before or are intermixed with lowercase letters, and
whether '_' sorts before or after '.'.  I could definitely envision two
locales that differ only in whether '_' sorts before letters is ignored,
which appears what's happening in your case, though I've no idea what the
two locales might be.

At any rate, as long as the sort used to generate protoproto and that used
to generate pkgproto are run in the same locale (or at least with the same
value of LC_COLLATE), it shouldn't matter, since all we care about is
consistency.  If needed, we can force LC_COLLATE=C for the commands.

Danek

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to