mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
merge revision(s) 6333020fc9:
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_6@67828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
545e51c1e2
commit
3c7e764d49
2 changed files with 6 additions and 3 deletions
|
|
@ -89,6 +89,9 @@ get_noatime_p(VALUE self, VALUE str)
|
|||
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)
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
#define RUBY_VERSION "2.6.6"
|
||||
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
|
||||
#define RUBY_PATCHLEVEL 116
|
||||
#define RUBY_PATCHLEVEL 117
|
||||
|
||||
#define RUBY_RELEASE_YEAR 2019
|
||||
#define RUBY_RELEASE_MONTH 10
|
||||
#define RUBY_RELEASE_DAY 2
|
||||
#define RUBY_RELEASE_MONTH 11
|
||||
#define RUBY_RELEASE_DAY 9
|
||||
|
||||
#include "ruby/version.h"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue