ruby-changes:54828
From: glass <ko1@a...>
Date: Mon, 11 Feb 2019 11:13:01 +0900 (JST)
Subject: [ruby-changes:54828] glass:r67047 (trunk): io.c: check HAVE_FCOPYFILE
glass 2019-02-11 11:12:54 +0900 (Mon, 11 Feb 2019) New Revision: 67047 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67047 Log: io.c: check HAVE_FCOPYFILE Modified files: trunk/io.c Index: io.c =================================================================== --- io.c (revision 67046) +++ io.c (revision 67047) @@ -11304,7 +11304,7 @@ static void * https://github.com/ruby/ruby/blob/trunk/io.c#L11304 nogvl_copy_stream_func(void *arg) { struct copy_stream_struct *stp = (struct copy_stream_struct *)arg; -#if defined(USE_SENDFILE) || defined(USE_COPY_FILE_RANGE) +#if defined(USE_SENDFILE) || defined(USE_COPY_FILE_RANGE) || defined(HAVE_FCOPYFILE) int ret; #endif @@ -11328,7 +11328,7 @@ nogvl_copy_stream_func(void *arg) https://github.com/ruby/ruby/blob/trunk/io.c#L11328 nogvl_copy_stream_read_write(stp); -#if defined(USE_SENDFILE) || defined(USE_COPY_FILE_RANGE) +#if defined(USE_SENDFILE) || defined(USE_COPY_FILE_RANGE) || defined(HAVE_FCOPYFILE) finish: #endif return 0; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/