[Bug 1789] On linux use abstract socket for X11 connections if possible

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Jun 30 22:51:38 EST 2010


https://bugzilla.mindrot.org/show_bug.cgi?id=1789

--- Comment #2 from Darren Tucker <dtucker at zip.com.au>  ---
Comment on attachment 1889
  --> https://bugzilla.mindrot.org/attachment.cgi?id=1889
patch solving the problem

Leaving aside the merits of the rest of the change, this part is
trivially broken on any platform that isn't linux since "len" will be
undefined:

>+#ifdef linux
>+	int len, ret;
>+#endif
>+	len = snprintf(buf, sizeof buf, _PATH_UNIX_X, dnr);

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list