aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman2006-12-15 19:05:47 +0000
committerRichard M. Stallman2006-12-15 19:05:47 +0000
commitf038449950d1fdf0a93f033b53f73ef24a2f617b (patch)
tree2f9beffadc553d2aa2f6229c59820dc0f9c933fd /lib-src
parent0d3d6719262ec9a6b9f04d0dd399427d2ace40ec (diff)
downloademacs-f038449950d1fdf0a93f033b53f73ef24a2f617b.tar.gz
emacs-f038449950d1fdf0a93f033b53f73ef24a2f617b.zip
Comment and whitespace changes.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/emacsclient.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index b344e676b22..bbd6cbe239b 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -153,7 +153,7 @@ struct option longopts[] =
153 153
154#ifdef WINDOWSNT 154#ifdef WINDOWSNT
155int 155int
156w32_window_app() 156w32_window_app ()
157{ 157{
158 static int window_app = -1; 158 static int window_app = -1;
159 char szTitle[MAX_PATH]; 159 char szTitle[MAX_PATH];
@@ -300,13 +300,13 @@ Report bugs to bug-gnu-emacs@gnu.org.\n", progname);
300#ifdef WINDOWSNT 300#ifdef WINDOWSNT
301 301
302/* 302/*
303 execvp() wrapper for Windows. Quotes arguments with embedded spaces. 303 execvp wrapper for Windows. Quotes arguments with embedded spaces.
304 304
305 This is necessary due to the broken implementation of exec* routines in 305 This is necessary due to the broken implementation of exec* routines in
306 the Microsoft libraries: they concatenate the arguments together without 306 the Microsoft libraries: they concatenate the arguments together without
307 quoting special characters, and pass the result to CreateProcess, with 307 quoting special characters, and pass the result to CreateProcess, with
308 predictably bad results. By contrast, Posix execvp passes the arguments 308 predictably bad results. By contrast, Posix execvp passes the arguments
309 directly into the argv[] array of the child process. 309 directly into the argv array of the child process.
310*/ 310*/
311int 311int
312w32_execvp (path, argv) 312w32_execvp (path, argv)
@@ -497,7 +497,7 @@ file_name_absolute_p (filename)
497} 497}
498 498
499#ifdef WINDOWSNT 499#ifdef WINDOWSNT
500/* Wrapper to make WSACleanup a cdecl, as required by atexit(). */ 500/* Wrapper to make WSACleanup a cdecl, as required by atexit. */
501void 501void
502__cdecl close_winsock () 502__cdecl close_winsock ()
503{ 503{
@@ -892,7 +892,7 @@ main (argc, argv)
892 /* 892 /*
893 Modern Windows restrict which processes can set the foreground window. 893 Modern Windows restrict which processes can set the foreground window.
894 emacsclient can allow Emacs to grab the focus by calling the function 894 emacsclient can allow Emacs to grab the focus by calling the function
895 AllowSetForegroundWindow(). Unfortunately, older Windows (W95, W98 895 AllowSetForegroundWindow. Unfortunately, older Windows (W95, W98
896 and NT) lack this function, so we have to check its availability. 896 and NT) lack this function, so we have to check its availability.
897 */ 897 */
898 if (emacs_pid) 898 if (emacs_pid)