--- old/src/jdk.jpackage/unix/native/libapplauncher/PosixPlatform.cpp 2019-07-16 22:11:31.796383711 +0300 +++ new/src/jdk.jpackage/unix/native/libapplauncher/PosixPlatform.cpp 2019-07-16 22:11:31.455516182 +0300 @@ -95,7 +95,7 @@ } void PosixPlatform::SetCurrentDirectory(TString Value) { - chdir(StringToFileSystemString(Value)); + int ignored = chdir(StringToFileSystemString(Value)); } Module PosixPlatform::LoadLibrary(TString FileName) { @@ -212,9 +212,11 @@ } else if (count == 0) { // break; } else { +/* if (buffer[count - 1] == EOF) { buffer[count - 1] = '\0'; } +*/ std::list output = Helpers::StringToArray(buffer); FOutput.splice(FOutput.end(), output, output.begin(), output.end()); @@ -310,7 +312,7 @@ void PosixProcess::SetInput(TString Value) { if (FInputHandle != 0) { - write(FInputHandle, Value.data(), Value.size()); + ssize_t ignored = write(FInputHandle, Value.data(), Value.size()); } }