CVS difference for ai05s/ai05-0233-1.txt
--- ai05s/ai05-0233-1.txt 2010/10/26 03:22:28 1.1
+++ ai05s/ai05-0233-1.txt 2010/11/23 03:29:37 1.2
@@ -1,6 +1,8 @@
-!standard A.19(0) 10-10-25 AI05-0233-1/00
+!standard A.19(8/3) 10-11-22 AI05-0233-1/01
!reference AI05-0127-2
!class Amendment 10-10-25
+!status Amendment 2012 10-11-22
+!status ARG Approved 6-0-4 10-10-30
!status work item 10-10-25
!status received 10-09-01
!priority Low
@@ -9,7 +11,11 @@
!summary
+(1) If multiple locales are available on a target, which locale is returned is
+unspecified.
+(2) The active locale is the one associated with the partition of the current
+task.
!problem
@@ -23,17 +29,57 @@
!proposal
+(See summary.)
-
!wording
+Modify A.19(8/3):
+
+The *active locale* is the locale associated with the [active] partition {of the
+current task}.
+
+Add an AARM Implementation Note:
+Some environments define both a system locale and the locale of the current user.
+For such environments, the active locale is that of current user if any;
+otherwise (as in a partition running on a server without a user), the system
+locale should be used.
!discussion
+Systems that distinguish between the current user locale and
+the system locale may also provide means to determine which locale is
+more appropriate for an executing program. For instance, on Microsoft Windows,
+GetThreadLocale will return the most appropriate locale for the current thread;
+the result of that routine can be used in GetLocaleInfo to determine the results
+to return from calls to Language and Country.
+
+Ada.Locales is preelaborated in order to maximize flexibity for client usage.
+However, a preelaborated package is not restricted to return the same value for
+all partitions for a given function. Subsequent calls to the same preelaborated
+function may in fact return different values even if the calls are made from
+within the same partition. This applies to locales as well; if the locale is
+changed by some means (perhaps by using an appropriate OS-specific API), the
+results of Language and Country may change for a running partition.
+
+!corrigendum A.19(0)
+
+@dinsc
+
+Force a conflict; the real text is found in the conflict file.
+
+A @b<locale> identifies a geopolitical place or region and its associated
+language, which can be used to determine other internationalization
+related characteristics.
+
!ACATS test
+No additional ACATS test is needed here.
+
+!ASIS
+
+No impact on ASIS.
!appendix
Questions? Ask the ACAA Technical Agent