aboutsummaryrefslogtreecommitdiff
path: root/intl/localealias.c
diff options
context:
space:
mode:
Diffstat (limited to 'intl/localealias.c')
-rw-r--r--intl/localealias.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/intl/localealias.c b/intl/localealias.c
index ed8747d..32d05ff 100644
--- a/intl/localealias.c
+++ b/intl/localealias.c
@@ -219,7 +219,9 @@ read_alias_file (fname, fname_len)
memcpy (&full_fname[fname_len], aliasfile, sizeof aliasfile);
#endif
- fp = fopen (full_fname, "r");
+ /* Note the file is opened with cancellation in the I/O functions
+ disabled. */
+ fp = fopen (full_fname, "rc");
freea (full_fname);
if (fp == NULL)
return 0;