X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=rcfile_y.y;h=39bb7a99c217e83adde71af8e09cf1d277df1240;hb=98cfcef26048bba06975e68a1aad05a8bac0d65d;hp=f20f2ef6775a4a51ebd2f8e18da0d1c239f48fa9;hpb=98bdc445738682c067752f8d467c2b0841fc6306;p=~andy%2Ffetchmail diff --git a/rcfile_y.y b/rcfile_y.y index f20f2ef6..39bb7a99 100644 --- a/rcfile_y.y +++ b/rcfile_y.y @@ -176,8 +176,8 @@ serv_option : AKA alias_list yyerror(GT_("SDPS not enabled.")); #endif /* SDPS_ENABLE */ } - | UIDL {current.server.uidl = FLAG_TRUE;} - | NO UIDL {current.server.uidl = FLAG_FALSE;} + | UIDL {/* EMPTY - removed in 7.0.0 */} + | NO UIDL {/* EMPTY - removed in 7.0.0 */} | CHECKALIAS {current.server.checkalias = FLAG_TRUE;} | NO CHECKALIAS {current.server.checkalias = FLAG_FALSE;} | SERVICE STRING { @@ -503,7 +503,8 @@ int prc_parse_file (const char *pathname, const flag securecheck) yyparse(); /* parse entire file */ - fclose(yyin); /* not checking this should be safe, file mode was r */ + if (yyin != stdin) + fclose(yyin); /* not checking this should be safe, file mode was r */ if (prc_errflag) return(PS_SYNTAX);