From: <th...@us...> - 2013-07-10 20:16:41
|
Revision: 737 http://sourceforge.net/p/py2exe/svn/737 Author: theller Date: 2013-07-10 20:16:39 +0000 (Wed, 10 Jul 2013) Log Message: ----------- Enable full logging, and log to stderr. Modified Paths: -------------- trunk/py2exe/source/MyLoadLibrary.c Modified: trunk/py2exe/source/MyLoadLibrary.c =================================================================== --- trunk/py2exe/source/MyLoadLibrary.c 2013-07-02 05:53:55 UTC (rev 736) +++ trunk/py2exe/source/MyLoadLibrary.c 2013-07-10 20:16:39 UTC (rev 737) @@ -71,7 +71,7 @@ putchar(' '); putchar(' '); } - return vprintf(fmt, marker) + 2*level; + return vfprintf(stderr, fmt, marker) + 2*level; #else return 0; #endif @@ -221,11 +221,11 @@ FARPROC proc; LIST *lib = _FindMemoryModule(NULL, module); if (lib) { -// dprintf("MyGetProcAddress(%p, %p(%s))\n", module, procname, HIWORD(procname) ? procname : ""); -// PUSH(); + dprintf("MyGetProcAddress(%p, %p(%s))\n", module, procname, HIWORD(procname) ? procname : ""); + PUSH(); proc = MemoryGetProcAddress(lib->module, procname); -// POP(); -// dprintf("MyGetProcAddress(%p, %p(%s))\n", module, procname, HIWORD(procname) ? procname : "", proc); + POP(); + dprintf("MyGetProcAddress(%p, %p(%s)) -> %p\n", module, procname, HIWORD(procname) ? procname : "", proc); return proc; } else return GetProcAddress(module, procname); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |