Mercurial > emacs
diff lib-src/ntlib.c @ 49600:23a1cea22d13
Trailing whitespace deleted.
| author | Juanma Barranquero <lekktu@gmail.com> |
|---|---|
| date | Tue, 04 Feb 2003 14:56:31 +0000 |
| parents | 1fd32e8a2fad |
| children | 695cf19ef79e d7ddb3e565de |
line wrap: on
line diff
--- a/lib-src/ntlib.c Tue Feb 04 13:30:45 2003 +0000 +++ b/lib-src/ntlib.c Tue Feb 04 14:56:31 2003 +0000 @@ -59,20 +59,20 @@ DWORD result; ppid = getenv ("EM_PARENT_PROCESS_ID"); - if (!ppid) + if (!ppid) { printf("no pid.\n"); return 0; - } - else + } + else { getppid_ppid = atoi (ppid); } - if (!getppid_parent) + if (!getppid_parent) { getppid_parent = OpenProcess (SYNCHRONIZE, FALSE, atoi(ppid)); - if (!getppid_parent) + if (!getppid_parent) { printf ("Failed to open handle to parent process: %d\n", GetLastError()); @@ -81,7 +81,7 @@ } result = WaitForSingleObject (getppid_parent, 0); - switch (result) + switch (result) { case WAIT_TIMEOUT: /* The parent is still alive. */ @@ -188,7 +188,7 @@ } /* Place a wrapper around the MSVC version of ctime. It returns NULL - on network directories, so we handle that case here. + on network directories, so we handle that case here. (Ulrich Leodolter, 1/11/95). */ char * sys_ctime (const time_t *t)
