commit | d63bbf44dc22994ad3cdd73cf852f3d91d87b3f8 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Tue Apr 21 08:05:27 2009 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Tue Apr 21 08:05:27 2009 -0700 |
tree | f3fca75ef50280259369c607a7320ba5f02dad02 | |
parent | a8421a128a2f0a5e6dcca7e37e36ceb63c9291c4 [diff] |
Work around 'ControlPath too long' on Mac OS X Mac OS X sets TMPDIR to a very long path within /var, so long that a socket created in that location is too big for a struct sockaddr_un on the platform, resulting in OpenSSH being unable to create or bind to a socket in that location. Instead we try to use the very short and very common /tmp, but fall back to the guessed default if /tmp does not exist. Signed-off-by: Shawn O. Pearce <sop@google.com>