#include "utils.h"
#include "exporthtml.h"
#include "xmlprops.h"
+#include "safe_fclose.h"
#ifdef MKDIR_TAKES_ONE_ARG
#undef mkdir
fprintf( cssFile, ".tab-attr {\n" );
fprintf( cssFile, "}\n" );
- fclose( cssFile );
+ safe_fclose( cssFile );
return MGU_SUCCESS;
}
fprintf( cssFile, ".tab-attr {\n" );
fprintf( cssFile, "}\n" );
- fclose( cssFile );
+ safe_fclose( cssFile );
return MGU_SUCCESS;
}
fprintf( htmlFile, "</body>\n" );
fprintf( htmlFile, "</html>\n" );
- fclose( htmlFile );
+ safe_fclose( htmlFile );
ctl->retVal = MGU_SUCCESS;
/* Create stylesheet files */