ruby-changes:58648
From: usa <ko1@a...>
Date: Fri, 8 Nov 2019 17:29:50 +0900 (JST)
Subject: [ruby-changes:58648] a4933de654 (ruby_2_5): merge revision(s) 6333020fc924d3ae63775c032bbe8f57364cd42e:
https://git.ruby-lang.org/ruby.git/commit/?id=a4933de654 From a4933de6549de70f04c2e54848fc271cf07a5ec5 Mon Sep 17 00:00:00 2001 From: usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> Date: Fri, 8 Nov 2019 08:29:32 +0000 Subject: merge revision(s) 6333020fc924d3ae63775c032bbe8f57364cd42e: atime may not updated unless strictatime is set on macOS Catalina Cited from mount(8): ``` strictatime Always update the file access time when reading from a file. Without this option the filesystem may default to a less strict update mode, where some access time updates are skipped for performance reasons. This option could be ignored if it is not supported by the filesystem. ``` git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e diff --git a/ext/-test-/file/fs.c b/ext/-test-/file/fs.c index c9c3473..63d2356 100644 --- a/ext/-test-/file/fs.c +++ b/ext/-test-/file/fs.c @@ -89,6 +89,9 @@ get_noatime_p(VALUE self, VALUE str) https://github.com/ruby/ruby/blob/trunk/ext/-test-/file/fs.c#L89 rb_sys_fail_str(str); } # ifdef HAVE_STRUCT_STATFS_F_FLAGS +# ifdef MNT_STRICTATIME + if (!(st.f_flags & MNT_STRICTATIME)) return Qtrue; +# endif # ifdef MNT_NOATIME return st.f_flags & MNT_NOATIME ? Qtrue : Qfalse; # elif defined(ST_NOATIME) diff --git a/version.h b/version.h index 8702516..0339cef 100644 --- a/version.h +++ b/version.h @@ -1,10 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/version.h#L1 #define RUBY_VERSION "2.5.8" -#define RUBY_RELEASE_DATE "2019-10-03" -#define RUBY_PATCHLEVEL 207 +#define RUBY_RELEASE_DATE "2019-11-08" +#define RUBY_PATCHLEVEL 208 #define RUBY_RELEASE_YEAR 2019 -#define RUBY_RELEASE_MONTH 10 -#define RUBY_RELEASE_DAY 3 +#define RUBY_RELEASE_MONTH 11 +#define RUBY_RELEASE_DAY 8 #include "ruby/version.h" -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/