Be more conservative about gethostname()'s truncating behaviour
Don't assume it will provide an error or null-terminate the string on truncation, since POSIX doesn't guarantee either behaviour (although Linux and Darwin at least will do the 'right thing'). llvm-svn: 228613
Loading
Please register or sign in to comment