1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 03:57:44 +00:00

hostname: Cleanup

- Attach context to I/O errors
- Make flags override each other
- Support invalid unicode as argument
- Call WsaCleanup() even on panic
- Do not use deprecated std::mem::uninitialized()
This commit is contained in:
Jan Verbeek 2021-08-28 13:47:31 +02:00
parent e9d63519dd
commit 3f37ddbd22
2 changed files with 73 additions and 65 deletions

View file

@ -68,6 +68,7 @@ structs
substr
splitn
trunc
uninit
# * uutils
basenc
@ -277,6 +278,7 @@ ULONG
ULONGLONG
UNLEN
WCHAR
WSADATA
errhandlingapi
fileapi
handleapi