From: Earnie B. <ea...@us...> - 2005-05-03 22:57:40
|
Update of /cvsroot/mingw/msys/rt/src/winsup/cygwin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17918 Modified Files: ChangeLog.MSYS cygheap.cc Log Message: * cygheap.cc (init_cheap): Add system_printf to capture true Win32 error. Thanks to Scott Michel (pingbak @ sf . net). Index: cygheap.cc =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/cygheap.cc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** cygheap.cc 24 Feb 2004 18:17:29 -0000 1.4 --- cygheap.cc 3 May 2005 22:57:31 -0000 1.5 *************** *** 54,57 **** --- 54,58 ---- if (!cygheap) { + system_printf ("VirtualAlloc pointer is null, %E"); MEMORY_BASIC_INFORMATION m; if (!VirtualQuery ((LPCVOID) &_cygheap_start, &m, sizeof m)) Index: ChangeLog.MSYS =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/ChangeLog.MSYS,v retrieving revision 1.72 retrieving revision 1.73 diff -C2 -d -r1.72 -r1.73 *** ChangeLog.MSYS 3 May 2005 22:30:50 -0000 1.72 --- ChangeLog.MSYS 3 May 2005 22:57:31 -0000 1.73 *************** *** 2,5 **** --- 2,7 ---- * syscalls.cc (_open): Add O_BINARY flag. + * cygheap.cc (init_cheap): Add system_printf to capture true Win32 + error. Thanks to Scott Michel (pingbak @ sf . net). 2005-03-29 Earnie Boyd <ea...@us...> |