mirror of
https://git.codelinaro.org/clo/tools/repo.git
synced 2025-06-30 16:36:39 +08: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.7%
Shell
1.3%