Commit 18996d95 authored by Per Cederqvist's avatar Per Cederqvist

(parse_aux_item_definitions): Use i_fopen and i_fclose instead of

	fopen and fclose.
parent 76c9677a
%{
/*
* $Id: aux-item-def-parse.y,v 1.14 2002/10/23 08:42:22 ceder Exp $
* $Id: aux-item-def-parse.y,v 1.15 2002/10/31 09:30:26 ceder Exp $
* Copyright (C) 1994-1996, 1999, 2001 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -96,6 +96,7 @@
#include "debug.h"
#include "log.h"
#include "string-malloc.h"
#include "eintr.h"
BUGDECL;
......@@ -480,7 +481,7 @@ static short aux_item_def_check_trigger(const char *check_name,
void parse_aux_item_definitions(char *file)
{
inputFile = file;
yyin = fopen(file, "r");
yyin = i_fopen(file, "r");
if (yyin == NULL)
{
perror(file);
......@@ -489,7 +490,7 @@ void parse_aux_item_definitions(char *file)
def = empty_aux_item_definition;
yyparse();
fclose(yyin);
i_fclose(yyin);
if (errorFlag == TRUE)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment