commit | ad9e1260db65fb5b6c0041538108925ffb2e6a3e | [log] [download] |
---|---|---|
author | WHR <msl0000023508@gmail.com> | Tue Aug 06 12:23:30 2024 +0800 |
committer | WHR <msl0000023508@gmail.com> | Tue Aug 06 12:23:30 2024 +0800 |
tree | 79adc32b65eacbbae29ced1753ee3ea4405ade2e | |
parent | 8eeb4461a6c2b270012881cb03bb9f3e3a635bfb [diff] |
Tool hostname: handle potential ENAMETOOLONG from gethostname(3) properly, and print truncated name as appropriate