diff options
author | Richard M. Stallman <rms@gnu.org> | 2006-12-15 19:05:47 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2006-12-15 19:05:47 +0000 |
commit | f038449950d1fdf0a93f033b53f73ef24a2f617b (patch) | |
tree | 2f9beffadc553d2aa2f6229c59820dc0f9c933fd /lib-src/emacsclient.c | |
parent | 0d3d6719262ec9a6b9f04d0dd399427d2ace40ec (diff) | |
download | emacs-f038449950d1fdf0a93f033b53f73ef24a2f617b.tar.gz |
Comment and whitespace changes.
Diffstat (limited to 'lib-src/emacsclient.c')
-rw-r--r-- | lib-src/emacsclient.c | 10 |
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[] = #ifdef WINDOWSNT int -w32_window_app() +w32_window_app () { static int window_app = -1; char szTitle[MAX_PATH]; @@ -300,13 +300,13 @@ Report bugs to bug-gnu-emacs@gnu.org.\n", progname); #ifdef WINDOWSNT /* - execvp() wrapper for Windows. Quotes arguments with embedded spaces. + execvp wrapper for Windows. Quotes arguments with embedded spaces. This is necessary due to the broken implementation of exec* routines in the Microsoft libraries: they concatenate the arguments together without quoting special characters, and pass the result to CreateProcess, with predictably bad results. By contrast, Posix execvp passes the arguments - directly into the argv[] array of the child process. + directly into the argv array of the child process. */ int w32_execvp (path, argv) @@ -497,7 +497,7 @@ file_name_absolute_p (filename) } #ifdef WINDOWSNT -/* Wrapper to make WSACleanup a cdecl, as required by atexit(). */ +/* Wrapper to make WSACleanup a cdecl, as required by atexit. */ void __cdecl close_winsock () { @@ -892,7 +892,7 @@ main (argc, argv) /* Modern Windows restrict which processes can set the foreground window. emacsclient can allow Emacs to grab the focus by calling the function - AllowSetForegroundWindow(). Unfortunately, older Windows (W95, W98 + AllowSetForegroundWindow. Unfortunately, older Windows (W95, W98 and NT) lack this function, so we have to check its availability. */ if (emacs_pid) |