summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dir.c4
-rw-r--r--version.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/dir.c b/dir.c
index 7d4dc8781f..5ebad0a49b 100644
--- a/dir.c
+++ b/dir.c
@@ -1446,7 +1446,7 @@ nogvl_opendir_at(void *ptr)
O_DIRECTORY|
# endif /* O_DIRECTORY */
0);
- int fd = openat(oaa->basefd, oaa->path, 0, opendir_flags);
+ int fd = openat(oaa->basefd, oaa->path, opendir_flags);
dirp = fd >= 0 ? fdopendir(fd) : 0;
if (!dirp) {
@@ -1454,7 +1454,7 @@ nogvl_opendir_at(void *ptr)
switch (gc_for_fd_with_gvl(e)) {
default:
- if (fd < 0) fd = openat(oaa->basefd, oaa->path, 0, opendir_flags);
+ if (fd < 0) fd = openat(oaa->basefd, oaa->path, opendir_flags);
if (fd >= 0) dirp = fdopendir(fd);
if (dirp) return dirp;
diff --git a/version.h b/version.h
index 076be0f7be..dcb0a558d1 100644
--- a/version.h
+++ b/version.h
@@ -1,6 +1,6 @@
#define RUBY_VERSION "2.5.0"
#define RUBY_RELEASE_DATE "2018-02-16"
-#define RUBY_PATCHLEVEL 17
+#define RUBY_PATCHLEVEL 18
#define RUBY_RELEASE_YEAR 2018
#define RUBY_RELEASE_MONTH 2