[Win32utils-devel] win32-mmap test failures
phasis at gmail.com
Fri Apr 25 12:20:20 EDT 2008
2008/4/26, Berger, Daniel <Daniel.Berger at qwest.com>:
> > -----Original Message-----
> > From: win32utils-devel-bounces at rubyforge.org
> > [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of
> > Berger, Daniel
> > Sent: Friday, April 25, 2008 9:31 AM
> > To: Development and ideas for win32utils projects
> > Subject: [Win32utils-devel] win32-mmap test failures
> > Hi all,
> > This is odd. It looks to me like we have all 4 variations of
> > memcpy set in Windows::MSVCRT::Buffer but somehow this one
> > creeps up. I actually noticed it in a few cases with that
> > earlier mmap sub/replace example, but I wasn't sure what was
> > happening.
> This is baffling. Somehow it's failing the src.is_a?(String) check on
> the marshalled source on line 31 of buffer.rb, even though it definitely
> _is_ a String. I cannot duplicate this in a standalone script.
If you modify src.is_a?(String) to src.class.to_s=="String", it will work.
But I don't know what it means.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the win32utils-devel