From 05dd7950f9b05db92e138d3ddb0bdec7636000e2 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Sun, 1 Oct 2000 00:42:48 +1100 Subject: - (djm) Cygwin fixes from Corinna Vinschen --- session.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'session.c') diff --git a/session.c b/session.c index d0172a369..446385892 100644 --- a/session.c +++ b/session.c @@ -1327,11 +1327,13 @@ do_child(const char *command, struct passwd * pw, const char *term, "Running %.100s add %.100s %.100s %.100s\n", options.xauth_location, display, auth_proto, auth_data); +#ifndef HAVE_CYGWIN /* Unix sockets are not supported */ if (screen != NULL) fprintf(stderr, "Adding %.*s/unix%s %s %s\n", (int)(screen-display), display, screen, auth_proto, auth_data); +#endif } snprintf(cmd, sizeof cmd, "%s -q -", options.xauth_location); @@ -1339,10 +1341,12 @@ do_child(const char *command, struct passwd * pw, const char *term, if (f) { fprintf(f, "add %s %s %s\n", display, auth_proto, auth_data); +#ifndef HAVE_CYGWIN /* Unix sockets are not supported */ if (screen != NULL) fprintf(f, "add %.*s/unix%s %s %s\n", (int)(screen-display), display, screen, auth_proto, auth_data); +#endif pclose(f); } else { fprintf(stderr, "Could not run %s\n", -- cgit v1.2.3