diff options
Diffstat (limited to 'sci-mathematics/rstudio/files/rstudio-1.1.463-fix-ptr-int-compare.patch')
-rw-r--r-- | sci-mathematics/rstudio/files/rstudio-1.1.463-fix-ptr-int-compare.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sci-mathematics/rstudio/files/rstudio-1.1.463-fix-ptr-int-compare.patch b/sci-mathematics/rstudio/files/rstudio-1.1.463-fix-ptr-int-compare.patch new file mode 100644 index 000000000000..914cd942e8f4 --- /dev/null +++ b/sci-mathematics/rstudio/files/rstudio-1.1.463-fix-ptr-int-compare.patch @@ -0,0 +1,13 @@ +--- rstudio-1.1.463-orig/src/cpp/server/ServerSecureKeyFile.cpp 2018-10-25 09:42:55.000000000 +1100 ++++ rstudio-1.1.463/src/cpp/server/ServerSecureKeyFile.cpp 2018-11-17 22:17:18.110012955 +1100 +@@ -79,8 +79,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); + } |