aboutsummaryrefslogtreecommitdiff
path: root/locale/programs/locarchive.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-10-17 18:04:06 +0000
committerUlrich Drepper <drepper@redhat.com>2002-10-17 18:04:06 +0000
commit2e2dc1a55816552a18a03c3b7d674e96a1c237c2 (patch)
treefee9083a6f8ffc2ba9b912fffa517efd24f8e283 /locale/programs/locarchive.c
parent5be7fe9ce96a0a4b1cda3abf1fafa40ff8b50cbb (diff)
downloadglibc-2e2dc1a55816552a18a03c3b7d674e96a1c237c2.zip
glibc-2e2dc1a55816552a18a03c3b7d674e96a1c237c2.tar.gz
glibc-2e2dc1a55816552a18a03c3b7d674e96a1c237c2.tar.bz2
Update.
2002-10-17 Ulrich Drepper <drepper@redhat.com> * locale/programs/locale.c (write_locales): Use 'm' flag in fopen call. * locale/programs/linereader.c (lr_open): Likewise. * locale/programs/charmap-dir.c (charmap_open): Likewise. * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
Diffstat (limited to 'locale/programs/locarchive.c')
-rw-r--r--locale/programs/locarchive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/locarchive.c b/locale/programs/locarchive.c
index 2bfb0cd..c7aa5b0 100644
--- a/locale/programs/locarchive.c
+++ b/locale/programs/locarchive.c
@@ -971,7 +971,7 @@ add_locale_to_archive (ah, name, data, replace)
if (alias_file != NULL)
{
FILE *fp;
- fp = fopen (alias_file, "r");
+ fp = fopen (alias_file, "rm");
if (fp == NULL)
error (1, errno, _("locale alias file `%s' not found"),
alias_file);