changeset 100343:4c206e002e5f

* emacsclient.c (main): Fix mindless breakage where emacsclient does not work *at all* on Windows, even if it *can* connect.
author Juanma Barranquero <lekktu@gmail.com>
date Wed, 10 Dec 2008 22:18:21 +0000
parents 160964e45356
children 271a9c928c41
files lib-src/ChangeLog lib-src/emacsclient.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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  <lekktu@gmail.com>
+
+	* 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  <dann@ics.uci.edu>
 
 	* emacsclient.c (EMACS_DAEMON): Remove definition.
--- 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)