mirror of
https://gerrit.googlesource.com/git-repo
synced 2025-04-22 14:09:50 +00:00
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>
Description
Languages
Python
98.9%
Shell
1%
Roff
0.1%