diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-10-17 18:04:06 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-10-17 18:04:06 +0000 |
commit | 2e2dc1a55816552a18a03c3b7d674e96a1c237c2 (patch) | |
tree | fee9083a6f8ffc2ba9b912fffa517efd24f8e283 /locale/programs/locale.c | |
parent | 5be7fe9ce96a0a4b1cda3abf1fafa40ff8b50cbb (diff) | |
download | glibc-2e2dc1a55816552a18a03c3b7d674e96a1c237c2.tar.gz glibc-2e2dc1a55816552a18a03c3b7d674e96a1c237c2.tar.xz glibc-2e2dc1a55816552a18a03c3b7d674e96a1c237c2.zip |
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/locale.c')
-rw-r--r-- | locale/programs/locale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/locale.c b/locale/programs/locale.c index 8dea09ae1c..418698a20e 100644 --- a/locale/programs/locale.c +++ b/locale/programs/locale.c @@ -495,7 +495,7 @@ write_locales (void) char full_name[strlen (entry) + sizeof aliasfile]; stpcpy (stpcpy (full_name, entry), aliasfile); - fp = fopen (full_name, "r"); + fp = fopen (full_name, "rm"); if (fp == NULL) /* Ignore non-existing files. */ continue; |