diff options
author | Damien Miller <djm@mindrot.org> | 2000-10-01 00:42:48 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-10-01 00:42:48 +1100 |
commit | 05dd7950f9b05db92e138d3ddb0bdec7636000e2 (patch) | |
tree | 9d1951d1504a350314416195f27f87b8196114cc /session.c | |
parent | 87f43ff889dba4377ea7f9052884b17e334089a2 (diff) |
- (djm) Cygwin fixes from Corinna Vinschen <vinschen@cygnus.com>
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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", |