about summary refs log tree commit diff stats
path: root/src/LYrcFile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYrcFile.c')
-rw-r--r--src/LYrcFile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LYrcFile.c b/src/LYrcFile.c
index de97c538..3671ca5f 100644
--- a/src/LYrcFile.c
+++ b/src/LYrcFile.c
@@ -550,7 +550,7 @@ PUBLIC void read_rc ARGS1(FILE *, fp)
 
     } /* end of while */
 
-    fclose(fp);
+    LYCloseInput(fp);
 } /* big end */
 
 /*
@@ -1080,7 +1080,7 @@ in the Visited Links Page.\n\
     if (is_tempfile) {
 	LYCloseTempFP(fp);
     } else {
-	fclose(fp);
+	LYCloseOutput(fp);
 	HTSYS_purge(rcfile);
     }