mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
There is no benefit to the hsFopen macro
This commit is contained in:
@ -74,7 +74,7 @@ plExportLogErrorMsg::~plExportLogErrorMsg()
|
||||
#ifdef ERRORLOG_ALWAYS_WRITE_SOMETHING
|
||||
else
|
||||
{
|
||||
fErrfile = hsFopen(fErrfile_name, "wt");
|
||||
fErrfile = fopen(fErrfile_name, "wt");
|
||||
setbuf(fErrfile, nil);
|
||||
fprintf(fErrfile, "No errors found! Good job.");
|
||||
fclose(fErrfile);
|
||||
@ -170,7 +170,7 @@ void plExportLogErrorMsg::IWriteErrorFile(const char* label, const char* msg)
|
||||
if ( !fErrfile )
|
||||
{
|
||||
// must be the first write... open the error file
|
||||
fErrfile = hsFopen(fErrfile_name, "wt");
|
||||
fErrfile = fopen(fErrfile_name, "wt");
|
||||
setbuf(fErrfile, nil);
|
||||
fNumberErrors = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user