# HG changeset patch # User Juanma Barranquero # Date 1228947501 0 # Node ID 4c206e002e5f04e554abbb1ae9e28eb488dbfbc3 # Parent 160964e45356274f18dcefe6625a9bc159c34908 * emacsclient.c (main): Fix mindless breakage where emacsclient does not work *at all* on Windows, even if it *can* connect. diff -r 160964e45356 -r 4c206e002e5f lib-src/ChangeLog --- a/lib-src/ChangeLog Wed Dec 10 21:50:23 2008 +0000 +++ b/lib-src/ChangeLog Wed Dec 10 22:18:21 2008 +0000 @@ -1,3 +1,8 @@ +2008-12-10 Juanma Barranquero + + * emacsclient.c (main): Fix mindless breakage where emacsclient + does not work *at all* on Windows, even if it *can* connect. + 2008-12-10 Dan Nicolaescu * emacsclient.c (EMACS_DAEMON): Remove definition. diff -r 160964e45356 -r 4c206e002e5f lib-src/emacsclient.c --- a/lib-src/emacsclient.c Wed Dec 10 21:50:23 2008 +0000 +++ b/lib-src/emacsclient.c Wed Dec 10 22:18:21 2008 +0000 @@ -1519,8 +1519,10 @@ } else fail (); +#ifndef WINDOWSNT else fail (); +#endif cwd = get_current_dir_name (); if (cwd == 0)