[Win32utils-devel] win32-mmap test failures

Berger, Daniel Daniel.Berger at qwest.com
Fri Apr 25 13:04:13 EDT 2008


Yeah, it's a scope resolution bug of some sort. Using "::String" works.
I'll fix that in the next windows-pr release.
 
Dan
 
PS - Sorry for the top posting (Outlook is being a pain)


________________________________

	From: win32utils-devel-bounces at rubyforge.org
[mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of Berger,
Daniel
	Sent: Friday, April 25, 2008 10:37 AM
	To: Development and ideas for win32utils projects
	Subject: Re: [Win32utils-devel] win32-mmap test failures
	
	
	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/0fdaf13a/attachment.html>


More information about the win32utils-devel mailing list