"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dlls/krnl386.exe16/global.c" between
wine-6.0.tar.xz and wine-6.0.1.tar.xz

About: Wine is an Open Source implementation of the MS Windows API on top of X, OpenGL, and Unix. Think of Wine as a compatibility layer for running Windows programs.

global.c  (wine-6.0.tar.xz):global.c  (wine-6.0.1.tar.xz)
skipping to change at line 733 skipping to change at line 733
return handle; return handle;
} }
/*********************************************************************** /***********************************************************************
* GetFreeSpace (KERNEL.169) * GetFreeSpace (KERNEL.169)
*/ */
DWORD WINAPI GetFreeSpace16( UINT16 wFlags ) DWORD WINAPI GetFreeSpace16( UINT16 wFlags )
{ {
MEMORYSTATUS ms; MEMORYSTATUS ms;
GlobalMemoryStatus( &ms ); GlobalMemoryStatus( &ms );
return ms.dwAvailVirtual; return min( ms.dwAvailVirtual, MAXLONG );
} }
/*********************************************************************** /***********************************************************************
* GlobalDOSAlloc (KERNEL.184) * GlobalDOSAlloc (KERNEL.184)
* *
* Allocate memory in the first MB. * Allocate memory in the first MB.
* *
* RETURNS * RETURNS
* Address (HW=Paragraph segment; LW=Selector) * Address (HW=Paragraph segment; LW=Selector)
*/ */
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)