summaryrefslogtreecommitdiffstats
path: root/loader2
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2005-04-13 17:34:08 +0000
committerChris Lumens <clumens@redhat.com>2005-04-13 17:34:08 +0000
commit2e1d6920edb7b4e226c691fca61c35b2961e0b45 (patch)
treeaf9b5525c09f90ef18bed94677afd324bdf74814 /loader2
parentb13598a8e4ffeba4deeaa15453cf23cb37238b31 (diff)
downloadanaconda-2e1d6920edb7b4e226c691fca61c35b2961e0b45.tar.gz
anaconda-2e1d6920edb7b4e226c691fca61c35b2961e0b45.tar.xz
anaconda-2e1d6920edb7b4e226c691fca61c35b2961e0b45.zip
Support setting the system's runtime language even if it's not supported
by a translation in anaconda. Set LC_COLLATE=C in the loader.
Diffstat (limited to 'loader2')
-rw-r--r--loader2/loader.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/loader2/loader.c b/loader2/loader.c
index 7a642934b..2212608d2 100644
--- a/loader2/loader.c
+++ b/loader2/loader.c
@@ -1147,6 +1147,9 @@ int main(int argc, char ** argv) {
{ 0, 0, 0, 0, 0 }
};
+ /* Make sure sort order is right. */
+ setenv ("LC_COLLATE", "C", 1);
+
/* JKFIXME: very very bad hack */
secondStageModuleLocation = malloc(sizeof(struct moduleBallLocation));
secondStageModuleLocation->path = strdup("/mnt/runtime/modules/modules.cgz");