coreutils/src/hostname
Alex Jiang 58b4075566 hostname: bug fix for non-windows xgethostname and add test case
Cstr::from_bytes_with_nul needs input bytes null terminated. Current
version does not include the last null byte, hence
Cstr::from_bytes_with_nul will panic with error 'FromBytesWithNulError {
kind: NotNulTerminated }'
2018-04-22 21:04:51 +08:00
..
Cargo.toml hostname: refactor a bit 2018-03-07 03:34:04 -08:00
hostname.rs hostname: bug fix for non-windows xgethostname and add test case 2018-04-22 21:04:51 +08:00