[Python-checkins] r43611 - python/trunk/Modules/posixmodule.c (original) (raw)

martin.v.loewis python-checkins at python.org
Tue Apr 4 01:01:26 CEST 2006


Author: martin.v.loewis Date: Tue Apr 4 01:01:24 2006 New Revision: 43611

Modified: python/trunk/Modules/posixmodule.c Log: Properly support empty woperation in win32_startfile; correct arguments to ShellExecuteW.

Modified: python/trunk/Modules/posixmodule.c

--- python/trunk/Modules/posixmodule.c (original) +++ python/trunk/Modules/posixmodule.c Tue Apr 4 01:01:24 2006 @@ -7469,28 +7469,31 @@ HINSTANCE rc; #ifdef Py_WIN_WIDE_FILENAMES if (unicode_file_names()) { - PyObject *unipath, *woperation; + PyObject *unipath, *woperation = NULL; if (!PyArg_ParseTuple(args, "U|s:startfile", &unipath, &operation)) { PyErr_Clear(); goto normal; }



More information about the Python-checkins mailing list