summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Moore <Robert.Moore@intel.com>2013-05-30 08:45:21 -0700
committerRobert Moore <Robert.Moore@intel.com>2013-05-30 08:45:21 -0700
commitf08677cf187ca295cc3215003d172ca319ff113c (patch)
treed1070c4a0e0f19bc7c0582ed2e925dc230b6e24b
parentb83eecfa55ebd4d90c80ac000c7bf4e4363a50c2 (diff)
iASL: fix another "could not delete" issue.
Must actually close the .SRC intermediate file rather than just zero out the handle. Otherwise, the file cannot be deleted when the compiler terminates.
-rw-r--r--source/compiler/prscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/compiler/prscan.c b/source/compiler/prscan.c
index 639d8453f..48d59a53f 100644
--- a/source/compiler/prscan.c
+++ b/source/compiler/prscan.c
@@ -336,7 +336,7 @@ PrDoPreprocess (
{
/* TBD: can't use source_output file for preprocessor error reporting */
- Gbl_Files[ASL_FILE_SOURCE_OUTPUT].Handle = NULL;
+ FlCloseFile (ASL_FILE_SOURCE_OUTPUT);
PrTerminatePreprocessor ();
return (TRUE);
}