mirror of
https://github.com/acpica/acpica/
synced 2025-02-24 17:34:43 +03:00
don't close files that point to stderr or stdout
This commit is contained in:
parent
94173b172e
commit
57972e2f7b
@ -991,7 +991,15 @@ FinishFiles(
|
||||
|
||||
for (i = ASL_FILE_INPUT; i < ASL_MAX_FILE_TYPE; i++)
|
||||
{
|
||||
FlCloseFile (i);
|
||||
/*
|
||||
* Some files could such as debug output files could be pointing to
|
||||
* stderr or stdout. Leave these alone...
|
||||
*/
|
||||
if (AslGbl_Files[i].Handle != stderr &&
|
||||
AslGbl_Files[i].Handle != stdout)
|
||||
{
|
||||
FlCloseFile (i);
|
||||
}
|
||||
}
|
||||
|
||||
/* Delete AML file if there are errors */
|
||||
|
Loading…
x
Reference in New Issue
Block a user