projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dbf2a9
)
initmsvcrt(): This no longer compiled on Windows, because
author
Tim Peters
<tim.peters@gmail.com>
Thu, 19 Jan 2006 15:21:30 +0000
(15:21 +0000)
committer
Tim Peters
<tim.peters@gmail.com>
Thu, 19 Jan 2006 15:21:30 +0000
(15:21 +0000)
a recent change inserted code before an auto declaration.
PC/msvcrtmodule.c
patch
|
blob
|
history
diff --git
a/PC/msvcrtmodule.c
b/PC/msvcrtmodule.c
index 4453023a6a8acd95d26117a78e006db06511c772..3311bd7fb4b2af638376459a875bef24451e7e9d 100755
(executable)
--- a/
PC/msvcrtmodule.c
+++ b/
PC/msvcrtmodule.c
@@
-220,10
+220,11
@@
static struct PyMethodDef msvcrt_functions[] = {
PyMODINIT_FUNC
initmsvcrt(void)
{
+ PyObject *d;
PyObject *m = Py_InitModule("msvcrt", msvcrt_functions);
if (m == NULL)
return;
-
PyObject *
d = PyModule_GetDict(m);
+ d = PyModule_GetDict(m);
/* constants for the locking() function's mode argument */
insertint(d, "LK_LOCK", _LK_LOCK);