@@ -62,7 +62,7 @@ main(int argc, char **argv)
6262 continue ;
6363
6464 len = wcsnlen_s (me .szExePath , MAX_PATH ) - KILL_PYTHON_EXE_LEN ;
65- wcsncpy_s (path , MAX_PATH + 1 , me .szExePath , len );
65+ wcsncpy_s (path , MAX_PATH + 1 , me .szExePath , len );
6666
6767 break ;
6868
@@ -80,8 +80,8 @@ main(int argc, char **argv)
8080 * looking for python processes. When we find one, verify it lives
8181 * in the same directory we live in. If it does, kill it. If we're
8282 * unable to kill it, treat this as a fatal error and return 1.
83- *
84- * The rationale behind this is that we're called at the start of the
83+ *
84+ * The rationale behind this is that we're called at the start of the
8585 * build process on the basis that we'll take care of killing any
8686 * running instances, such that the build won't encounter permission
8787 * denied errors during linking. If we can't kill one of the processes,
@@ -104,11 +104,11 @@ main(int argc, char **argv)
104104 do {
105105
106106 /*
107- * XXX TODO: if we really wanted to be fancy, we could check the
107+ * XXX TODO: if we really wanted to be fancy, we could check the
108108 * modules for all processes (not just the python[_d].exe ones)
109- * and see if any of our DLLs are loaded (i.e. python34 [_d].dll),
109+ * and see if any of our DLLs are loaded (i.e. python35 [_d].dll),
110110 * as that would also inhibit our ability to rebuild the solution.
111- * Not worth loosing sleep over though; for now, a simple check
111+ * Not worth loosing sleep over though; for now, a simple check
112112 * for just the python executable should be sufficient.
113113 */
114114
@@ -119,7 +119,7 @@ main(int argc, char **argv)
119119 /* It's a python process, so figure out which directory it's in... */
120120 hsm = CreateToolhelp32Snapshot (TH32CS_SNAPMODULE , pe .th32ProcessID );
121121 if (hsm == INVALID_HANDLE_VALUE )
122- /*
122+ /*
123123 * If our module snapshot fails (which will happen if we don't own
124124 * the process), just ignore it and continue. (It seems different
125125 * versions of Windows return different values for GetLastError()
0 commit comments