mirror of
https://github.com/rehlds/rehlds.git
synced 2025-04-16 22:32:30 +03:00
Fix flight decoder are failed.
Added info in Readme.md about faster building.
This commit is contained in:
parent
86cff5477a
commit
bef44b8741
@ -76,9 +76,13 @@ icc (ICC) 15.0.1 20141023
|
|||||||
### Building
|
### Building
|
||||||
On Windows:
|
On Windows:
|
||||||
<pre>gradlew --max-workers=1 clean buildRelease</pre>
|
<pre>gradlew --max-workers=1 clean buildRelease</pre>
|
||||||
|
* For faster building without unit tests use this:exclamation:
|
||||||
|
<pre>gradlew --max-workers=1 clean buildFixes</pre>
|
||||||
|
|
||||||
On Linux:
|
On Linux:
|
||||||
<pre>./gradlew --max-workers=1 clean buildRelease</pre>
|
<pre>./gradlew --max-workers=1 clean buildRelease</pre>
|
||||||
|
* For faster building without unit tests use this:exclamation:
|
||||||
|
<pre>./gradlew --max-workers=1 clean buildFixes</pre>
|
||||||
|
|
||||||
Compiled binaries will be placed in the rehlds/build/binaries/ directory
|
Compiled binaries will be placed in the rehlds/build/binaries/ directory
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ public class FlightRecFileScanner {
|
|||||||
}
|
}
|
||||||
|
|
||||||
long endPos = file.getFilePointer() - size + pos + allocSize;
|
long endPos = file.getFilePointer() - size + pos + allocSize;
|
||||||
if (endPos >= file.length()) {
|
if (endPos > file.length()) {
|
||||||
resList.add(new HeaderScanResult(file.getFilePointer() - size + pos, allocSize, false, "Regions partially lays outside the file", version));
|
resList.add(new HeaderScanResult(file.getFilePointer() - size + pos, allocSize, false, "Regions partially lays outside the file", version));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user