Update of /cvsroot/pywin32/pywin32/win32/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20334
Modified Files:
PythonService.cpp
Log Message:
Mark (or anyone else) - please review, but this should be correct.
There were two different 'pe' variables in this function, and the
wrong one was getting set. I know why I prefer C over C++ ;-)
Apparently this code is only executed when you try to py2exe a module
containing more than one service class.
Index: PythonService.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/src/PythonService.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** PythonService.cpp 11 Nov 2003 23:57:31 -0000 1.12
--- PythonService.cpp 20 Feb 2004 08:10:43 -0000 1.13
***************
*** 749,753 ****
}
} else
! PY_SERVICE_TABLE_ENTRY *pe = FindPythonServiceEntry(lpszArgv[0]);
if (!pe) {
LPTSTR lpszStrings[] = {lpszArgv[0], NULL};
--- 749,753 ----
}
} else
! pe = FindPythonServiceEntry(lpszArgv[0]);
if (!pe) {
LPTSTR lpszStrings[] = {lpszArgv[0], NULL};
|