aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 525a38d5..554aaaa0 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -451,7 +451,7 @@ int prc_parse_file (const char *pathname, const flag securecheck)
yyparse(); /* parse entire file */
- fclose(yyin);
+ fclose(yyin); /* not checking this should be safe, file mode was r */
if (prc_errflag)
return(PS_SYNTAX);