2014-05-28 Florian Weimer <fweimer@redhat.com>
* manual/locale.texi (Setting the Locale): Update documentation of
the LOCPATH environment variable.
@@ -411,14 +411,19 @@ pointer and leaves the current locale unchanged.
The path used for finding locale data can be set using the
@code{LOCPATH} environment variable. The default path for finding
-locale data is system specific. It is computed from the value given
-as the prefix while configuring the C library. This value normally is
-@file{/usr} or @file{/}. For the former the complete path is:
+locale data is system specific. It is computed from the directory
+specified using @option{--localedir}, @option{--datarootdir}, or
+@option{--prefix} while configuring @theglibc. The prefix is normally
+set as @file{/usr} or @file{/}. For the former the complete path for
+the @code{LOCPATH} default value is:
@smallexample
-/usr/lib/locale
+/usr/share/locale
@end smallexample
+The value of @code{LOCPATH} is ignored by privileged programs for
+security reasons.
+
Here is an example showing how you might use @code{setlocale} to
temporarily switch to a new locale.