diff options
Diffstat (limited to 'sci-mathematics/rstudio/files/rstudio-1.2.1335-fix-ptr-int-compare.patch')
-rw-r--r-- | sci-mathematics/rstudio/files/rstudio-1.2.1335-fix-ptr-int-compare.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sci-mathematics/rstudio/files/rstudio-1.2.1335-fix-ptr-int-compare.patch b/sci-mathematics/rstudio/files/rstudio-1.2.1335-fix-ptr-int-compare.patch new file mode 100644 index 000000000000..e38f5e0c4448 --- /dev/null +++ b/sci-mathematics/rstudio/files/rstudio-1.2.1335-fix-ptr-int-compare.patch @@ -0,0 +1,13 @@ +--- rstudio-1.2.1335-orig/src/cpp/server_core/SecureKeyFile.cpp 2019-03-28 16:08:20.000000000 +1100 ++++ rstudio-1.2.1335/src/cpp/server_core/SecureKeyFile.cpp 2019-04-09 20:47:57.943317208 +1000 +@@ -68,8 +68,8 @@ + return error; + + // change mode it so it is only readable and writeable by this user +- if (changeFileMode(secureKeyPath, +- core::system::UserReadWriteMode) < 0) ++ if (!!changeFileMode(secureKeyPath, ++ core::system::UserReadWriteMode)) + { + return systemError(errno, ERROR_LOCATION); + } |