]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 17 Oct 2002 18:04:06 +0000 (18:04 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 17 Oct 2002 18:04:06 +0000 (18:04 +0000)
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.

ChangeLog
locale/programs/charmap-dir.c
locale/programs/linereader.c
locale/programs/locale.c
locale/programs/locarchive.c

index 325bff45aa687ad89475fef0e638d65c54ce903d..271ba2014bfcc6a633398a77c637531c577a0da2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
 2002-10-17  Isamu Hasegawa  <isamu@yamato.ibm.com>
 
        * posix/bug-regex11.c: Add a test case for the bug reported by
index a7a453552bc766257d850a4f08f65974ef774b12..935f662ff6e51184213c5a634240d28a75ca80fc 100644 (file)
@@ -224,7 +224,7 @@ charmap_open (const char *directory, const char *name)
     *p++ = '/';
   p = stpcpy (p, name);
 
-  stream = fopen (pathname, "r");
+  stream = fopen (pathname, "rm");
   if (stream != NULL)
     return stream;
 
index 2c6eb8d3feb2a7426caa2c4402366bdf776082ae..1df7df7e5027ac13695bb5c3d8c785c9764da19a 100644 (file)
@@ -56,7 +56,7 @@ lr_open (const char *fname, kw_hash_fct_t hf)
     return lr_create (stdin, "<stdin>", hf);
   else
     {
-      fp = fopen (fname, "r");
+      fp = fopen (fname, "rm");
       if (fp == NULL)
        return NULL;
       return lr_create (fp, fname, hf);
index 8dea09ae1c7607fdb6304da57058e9162a27bd90..418698a20ef8504b9601b5aa28d92b6ba4905694 100644 (file)
@@ -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;
index 2bfb0cd5d84b6d683cf4795f97c59e6b92800554..c7aa5b06ac507407deaacc1c090a365b2751d818 100644 (file)
@@ -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);
This page took 0.04614 seconds and 5 git commands to generate.