[前][次][番号順一覧][スレッド一覧]

ruby-changes:54889

From: ko1 <ko1@a...>
Date: Wed, 20 Feb 2019 13:27:29 +0900 (JST)
Subject: [ruby-changes:54889] ko1:r67094 (trunk): revert r67093 because it breaks tests

ko1	2019-02-20 13:27:24 +0900 (Wed, 20 Feb 2019)

  New Revision: 67094

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67094

  Log:
    revert r67093 because it breaks tests

  Modified files:
    trunk/file.c
Index: file.c
===================================================================
--- file.c	(revision 67093)
+++ file.c	(revision 67094)
@@ -1112,23 +1112,6 @@ stat_without_gvl(const char *path, struc https://github.com/ruby/ruby/blob/trunk/file.c#L1112
 						  RUBY_UBF_IO, NULL);
 }
 
-#if !defined HAVE_STATX && defined __linux__
-# ifdef HAVE_SYSCALL_H
-#   include <syscall.h>
-# elif defined HAVE_SYS_SYSCALL_H
-#   include <sys/syscall.h>
-# endif
-# if defined __NR_statx
-#   include <linux/stat.h>
-static int statx(int dirfd, const char *pathname, int flags,
-                 unsigned int mask, struct statx *statxbuf)
-{
-    return syscall(__NR_statx, dirfd, pathname, flags, mask, statxbuf);
-}
-#   define HAVE_STATX
-# endif
-#endif
-
 #ifdef HAVE_STATX
 typedef struct no_gvl_statx_data {
     struct statx *stx;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]