From f703a30dfe2f3178202ccd5121128d4d3c4bbec8 Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 11 Oct 2013 14:39:22 +0100 Subject: Fixup osdep-* specific code get_proc_name() is osdep_get_name() outside of OpenBSD. --- client.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'client.c') diff --git a/client.c b/client.c index e7fa4b71..d1a3b177 100644 --- a/client.c +++ b/client.c @@ -349,10 +349,6 @@ client_send_identify(int flags) fd = open("/", O_RDONLY); client_write_one(MSG_IDENTIFY_CWD, fd, NULL, 0); -#ifdef __CYGWIN__ - snprintf(&data.ttyname, sizeof data.ttyname, "%s", - ttyname(STDIN_FILENO)); -#else if ((fd = dup(STDIN_FILENO)) == -1) fatal("dup failed"); client_write_one(MSG_IDENTIFY_STDIN, fd, NULL, 0); -- cgit