Fix GenffsFileTask.java one bug: create *.org failed in some machine.
authorqouyang <qouyang@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 9 Jun 2006 11:01:28 +0000 (11:01 +0000)
committerqouyang <qouyang@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 9 Jun 2006 11:01:28 +0000 (11:01 +0000)
Root cause is unclosing DataOutputStream after used.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@455 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/GenFfsFileTask.java

index 4d4c99625bda39e7aa0ddddef384c63670177824..8aff2e86bf70fdcd50043dff9e3e0c5ef8ad6869 100644 (file)
@@ -207,6 +207,7 @@ public class GenFfsFileTask extends Task implements EfiDefine, FfsTypes {
                 }\r
             }\r
             dataBuffer.close();\r
+            orgDataBuffer.close();\r
         } catch (Exception e) {\r
             throw new BuildException (e.getMessage());\r
         }\r