summaryrefslogtreecommitdiff
path: root/launcher.c
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2022-11-20 21:02:29 +0100
committerDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2022-11-20 21:05:08 +0100
commit71d9566c22710b57c9564c0cd6332f9be71b4e83 (patch)
tree2234639d2c5d8008a3605cdc1222a6548a98bac1 /launcher.c
parent59ee4980a0f49ea610e26a1aca104334ae03d140 (diff)
downloadpython-setuptools-git-71d9566c22710b57c9564c0cd6332f9be71b4e83.tar.gz
Get rid of trailing spaces, mainly in docs
Diffstat (limited to 'launcher.c')
-rw-r--r--launcher.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/launcher.c b/launcher.c
index 23ef3ac2..51d6ec0f 100644
--- a/launcher.c
+++ b/launcher.c
@@ -180,7 +180,7 @@ void pass_control_to_child(DWORD control_type) {
}
BOOL control_handler(DWORD control_type) {
- /*
+ /*
* distribute-issue207
* control event handler callback function
*/
@@ -209,7 +209,7 @@ int create_and_wait_for_subprocess(char* command) {
if (!CreateProcessA(NULL, commandline, NULL, NULL, TRUE, 0, NULL, NULL, &s_info, &p_info)) {
fprintf(stderr, "failed to create process.\n");
return 0;
- }
+ }
child_pid = p_info.dwProcessId;
// wait for Python to exit
WaitForSingleObject(p_info.hProcess, INFINITE);
@@ -229,7 +229,7 @@ char* join_executable_and_args(char *executable, char **args, int argc)
*/
int len,counter;
char* cmdline;
-
+
len=strlen(executable)+2;
for (counter=1; counter<argc; counter++) {
len+=strlen(args[counter])+1;
@@ -333,4 +333,3 @@ int WINAPI WinMain(HINSTANCE hI, HINSTANCE hP, LPSTR lpCmd, int nShow) {
int main(int argc, char** argv) {
return run(argc, argv, GUI);
}
-