mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
merge revision(s) 63720: [Backport #14864]
dir.c: define O_CLOEXEC for older systems SuSE 10 has openat(), but not O_CLOEXEC Reported-by: wangpeiwen [ruby-core:87591] [Bug #14864] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@66878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4c426290d6
commit
b5d43b1db5
2 changed files with 5 additions and 1 deletions
4
dir.c
4
dir.c
|
@ -22,6 +22,10 @@
|
|||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifndef O_CLOEXEC
|
||||
# define O_CLOEXEC 0
|
||||
#endif
|
||||
|
||||
#ifndef USE_OPENDIR_AT
|
||||
# if defined(HAVE_FDOPENDIR) && defined(HAVE_DIRFD) && \
|
||||
defined(HAVE_OPENAT) && defined(HAVE_FSTATAT)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#define RUBY_VERSION "2.5.4"
|
||||
#define RUBY_RELEASE_DATE "2019-01-20"
|
||||
#define RUBY_PATCHLEVEL 133
|
||||
#define RUBY_PATCHLEVEL 134
|
||||
|
||||
#define RUBY_RELEASE_YEAR 2019
|
||||
#define RUBY_RELEASE_MONTH 1
|
||||
|
|
Loading…
Add table
Reference in a new issue