[ruby-core:86367] Re: [ruby-cvs:70102] usa:r63008 (trunk): get rid of test error/failure on Windows introduced at r62955

From: "U.NAKAMURA" <usa@...>
Date: 2018-03-28 16:25:45 UTC
List: ruby-core #86367
Hi, Eric

In message "Re: [ruby-cvs:70102] usa:r63008 (trunk): get rid of test error/failure on Windows introduced at r62955"
  on Wed, 28 Mar 2018 16:21:06 +0000, [email protected] wrote:
> I guess Windows does not have pread?

Yes.


> For current C Ruby, lock/unlock can use GVL.  So I think that
> workaround can be implemented for Windows in IO.copy_stream
> itself, and not WEBrick.

The document of IO.copy_stream says:

 IO.copy_stream doesn't move the current file offset.

I don't have any idea to implement such behavior for Windows.


Regards,
-- 
U.Nakamaura <[email protected]>


Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread