From: Thomas H. <th...@us...> - 2005-06-22 08:52:30
|
Update of /cvsroot/py2exe/py2exe/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29167 Modified Files: Python-dynload.c Log Message: Debug output to stderr. Index: Python-dynload.c =================================================================== RCS file: /cvsroot/py2exe/py2exe/source/Python-dynload.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Python-dynload.c 21 Apr 2005 19:45:58 -0000 1.1 --- Python-dynload.c 22 Jun 2005 08:52:22 -0000 1.2 *************** *** 2,5 **** --- 2,6 ---- #include "Python-dynload.h" #include "../hacks/memimp/MemoryModule.h" + #include <stdio.h> struct IMPORT imports[] = { *************** *** 33,37 **** if (p->proc == NULL) { OutputDebugString("undef symbol"); ! printf("undefined symbol %s -> exit(-1)\n", p->name); return 0; } --- 34,38 ---- if (p->proc == NULL) { OutputDebugString("undef symbol"); ! fprintf(stderr, "undefined symbol %s -> exit(-1)\n", p->name); return 0; } *************** *** 57,61 **** if (p->proc == NULL) { OutputDebugString("undef symbol"); ! printf("undefined symbol %s -> exit(-1)\n", p->name); return 0; } --- 58,62 ---- if (p->proc == NULL) { OutputDebugString("undef symbol"); ! fprintf(stderr, "undefined symbol %s -> exit(-1)\n", p->name); return 0; } |