summary refs log tree commit diff
path: root/intl/localealias.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-11-15 04:24:42 -0500
committerUlrich Drepper <drepper@gmail.com>2011-11-15 04:24:42 -0500
commit312be3f9f5eab1643d7dcc7728c76d413d4f2640 (patch)
tree445eab9ef93914585b6625aa6ca93c24715771b7 /intl/localealias.c
parent82af0fa8de8201803ac670fa0de7d702ce9f0f18 (diff)
downloadglibc-312be3f9f5eab1643d7dcc7728c76d413d4f2640.tar.gz
glibc-312be3f9f5eab1643d7dcc7728c76d413d4f2640.tar.xz
glibc-312be3f9f5eab1643d7dcc7728c76d413d4f2640.zip
Clean up internal fopen uses
No need to ever not use c and e.
Diffstat (limited to 'intl/localealias.c')
-rw-r--r--intl/localealias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/intl/localealias.c b/intl/localealias.c
index 6f5fa12495..6cc69c84b5 100644
--- a/intl/localealias.c
+++ b/intl/localealias.c
@@ -221,7 +221,7 @@ read_alias_file (fname, fname_len)
 
   /* Note the file is opened with cancellation in the I/O functions
      disabled.  */
-  fp = fopen (full_fname, "rc");
+  fp = fopen (full_fname, "rce");
   freea (full_fname);
   if (fp == NULL)
     return 0;