U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » Latest change on FileMapping::Map() wrong for win32
Latest change on FileMapping::Map() wrong for win32 [message #23384] Thu, 15 October 2009 19:36 Go to previous message
hans is currently offline  hans
Messages: 44
Registered: March 2006
Location: Germany
Member
Today svn update, file Stream.cpp, line 1342 is changed

from
		if(!rawbase)
			return false;

to
		if(rawbase == (byte *)~0)
			return false;



but the test for ~0 should go into the Linux section only,
as MapViewOfFile on windows returns NULL on
error.

greetings, Hans.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Deepcopying One container
Next Topic: FtpClient use with Progress FIX
Goto Forum:
  


Current Time: Mon Apr 27 14:11:02 GMT+2 2026

Total time taken to generate the page: 0.00835 seconds