From dd258a5117550bd3195bd5b41fdb53b0116d3749 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Fri, 16 Mar 2007 13:15:16 +0000 Subject: Don't set DISPLAY environment variable to empty string --- sshfs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sshfs.c') diff --git a/sshfs.c b/sshfs.c index 202c6b2..38176e3 100644 --- a/sshfs.c +++ b/sshfs.c @@ -712,7 +712,6 @@ static int start_ssh(void) if (sshfs.nodelaysrv_workaround) { /* Hack to work around missing TCP_NODELAY setting in sshd */ sshfs.ssh_args.argv[1] = "-X"; - setenv("DISPLAY", "", 1); } devnull = open("/dev/null", O_WRONLY); @@ -2609,7 +2608,7 @@ int main(int argc, char *argv[]) sshfs.blksize = 4096; sshfs.max_read = 65536; sshfs.nodelay_workaround = 1; - sshfs.nodelaysrv_workaround = 1; + sshfs.nodelaysrv_workaround = 0; sshfs.rename_workaround = 0; sshfs.truncate_workaround = 0; sshfs.buflimit_workaround = 1; -- cgit v1.2.3