[#75225] [Ruby trunk Feature#12324] Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7) — k@...
Issue #12324 has been reported by Kazuki Yamaguchi.
6 messages
2016/04/27
[#78693] Re: [Ruby trunk Feature#12324] Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
— Eric Wong <normalperson@...>
2016/12/17
k@rhe.jp wrote:
[#78701] Re: [Ruby trunk Feature#12324] Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
— Kazuki Yamaguchi <k@...>
2016/12/17
On Sat, Dec 17, 2016 at 01:31:12AM +0000, Eric Wong wrote:
[#78702] Re: [Ruby trunk Feature#12324] Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
— Eric Wong <normalperson@...>
2016/12/17
Kazuki Yamaguchi <k@rhe.jp> wrote:
[ruby-core:74940] [Ruby trunk Bug#12280] IO.copy_stream(IO, IO) fails with "pread() not implemented"
From:
eregontp@...
Date:
2016-04-13 22:12:30 UTC
List:
ruby-core #74940
Issue #12280 has been updated by Benoit Daloze. Eric Wong wrote: > eregontp@gmail.com wrote: > > IO.copy_stream on Windows with IO having an offset fails with: > > NotImplementedError: pread() not implemented > > > > This seems suboptimal, should a clearer be reported? > > Not sure. Maybe include a bug report address to get pread > implemented in Windows? :) > > > Is it a platform limitation? > > Yes, it's a platform limitation. > > lseek+read can be used to workaround the limitation in > single-threaded programs only (and only as long as the FD is not > shared across fork; maybe FD sharing across fork isn't possible > in Windows...) > > But I guess an error message is better than a racy workaround > which can corrupt data with concurrent access. Thanks for the quick reply! For me, having a message like: "NotImplementedError: IO.copy_stream with offset is not supported on Windows since it is not atomic" would be a good enough fix for this. ---------------------------------------- Bug #12280: IO.copy_stream(IO, IO) fails with "pread() not implemented" https://bugs.ruby-lang.org/issues/12280#change-58069 * Author: Benoit Daloze * Status: Open * Priority: Normal * Assignee: * ruby -v: * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- IO.copy_stream on Windows with IO having an offset fails with: NotImplementedError: pread() not implemented This seems suboptimal, should a clearer be reported? Is it a platform limitation? -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>