summaryrefslogtreecommitdiffstats
path: root/src/native/common/MachineDataInfoRuntime.c
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-03-24 03:32:36 +0100
committerSven Gothel <[email protected]>2019-03-24 03:32:36 +0100
commit4375d2824ac6ff656df184ea0c19ab781e3524e8 (patch)
tree4aba947abba2e7081a361019fbc9bd9c59b28f91 /src/native/common/MachineDataInfoRuntime.c
parent8409512c12e88cfad06704cf0c6d3f196dd24163 (diff)
Bug 1219, Bug 1231: Avoid deflating test-exe on Windows using java.nio.file.Files.isExecutable(Path)
Attempt to resolved virus scanner false positive detection on Windows while deflating the native code test-exe file in the temporary folder. As Julien Gouesse suggested, using Java 1.7's java.nio.file.Files.isExecutable(Path) _may_ resolve the issue, this has to be thorougly tested. This patch favors the nio's isExecutable file's ACL test over the more intrusive execution itself using a simple shell script file w/ set executable flag. Mind that previous tests allowed the shell script's execution, even if the temp folder did not allow execution of native code. We have to see how our testing results will be on this attempt.
Diffstat (limited to 'src/native/common/MachineDataInfoRuntime.c')
0 files changed, 0 insertions, 0 deletions