mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-24 22:24:37 +02:00
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1509 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
d039f539ae
commit
7dd2b2ad65
@ -299,6 +299,8 @@ public class GenSectionTask extends Task implements EfiDefine, Section,FfsTypes
|
||||
// Call compress
|
||||
//
|
||||
byte[] fileBuffer = bo.toByteArray();
|
||||
|
||||
synchronized (CompressSection.semaphore) {
|
||||
Compress myCompress = new Compress(fileBuffer, fileBuffer.length);
|
||||
|
||||
//
|
||||
@ -349,6 +351,7 @@ public class GenSectionTask extends Task implements EfiDefine, Section,FfsTypes
|
||||
size ++;
|
||||
buffer.writeByte(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e){
|
||||
throw new BuildException("compress.toBuffer failed!\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user