diff options
author | Alan Somers <asomers@gmail.com> | 2021-12-21 18:14:49 -0700 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2021-12-21 18:14:49 -0700 |
commit | 6d07477fac02d14ddd885fa298346d4403c2aacb (patch) | |
tree | f3312f1d4db3e6e8da272a5c5722835fea2c85cb /src/sys/time.rs | |
parent | 7be98a4379c57d91c6916c0a9817267ebf18c516 (diff) | |
download | nix-6d07477fac02d14ddd885fa298346d4403c2aacb.zip |
UnixAddr: replace path_len with sun_len
Within UnixAddr, replace the path_len variable (length of the sun_path
field) with sun_len (length of the whole structure). This is more
similar to how other sockaddr types work, and it's the same way that the
BSDs use the sun_len field.
Also, don't require that sun_path be nul-terminated. The OS doesn't
require it.
Diffstat (limited to 'src/sys/time.rs')
0 files changed, 0 insertions, 0 deletions