[Win32utils-devel] win32-mmap test failures

Berger, Daniel Daniel.Berger at qwest.com
Fri Apr 25 12:36:51 EDT 2008


Thanks.
 
The only thing I can figure is that it's some sort of name collision
with Windows::MSVCRT::String, but I can't see how right off the bat.
 
Dan


________________________________

	From: win32utils-devel-bounces at rubyforge.org
[mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of Heesob Park
	Sent: Friday, April 25, 2008 10:20 AM
	To: Development and ideas for win32utils projects
	Subject: Re: [Win32utils-devel] win32-mmap test failures
	
	
	Hi,
	
	
	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.
		
		<snip>
		
		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.
		
		Ideas?
		
		Thanks,
		
		Dan


	If you modify src.is_a?(String)  to src.class.to_s=="String", it
will work.
	But I don't know what it means.
	 
	Regards,

	Park Heesob
	 

	 


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful.  If you have received this communication 
in error, please immediately notify the sender by reply e-mail and destroy 
all copies of the communication and any attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/win32utils-devel/attachments/20080425/813ef391/attachment.html>


More information about the win32utils-devel mailing list