about summary refs log tree commit diff
path: root/locale/programs/linereader.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/programs/linereader.c')
-rw-r--r--locale/programs/linereader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c
index 2c6eb8d3fe..1df7df7e50 100644
--- a/locale/programs/linereader.c
+++ b/locale/programs/linereader.c
@@ -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);