-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
OpenBSD socket address is padded with zeroes #116523
Copy link
Copy link
Closed
Labels
A-ioArea: `std::io`, `std::fs`, `std::net` and `std::path`Area: `std::io`, `std::fs`, `std::net` and `std::path`C-bugCategory: This is a bug.Category: This is a bug.O-openbsdOperating system: OpenBSDOperating system: OpenBSDT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-ioArea: `std::io`, `std::fs`, `std::net` and `std::path`Area: `std::io`, `std::fs`, `std::net` and `std::path`C-bugCategory: This is a bug.Category: This is a bug.O-openbsdOperating system: OpenBSDOperating system: OpenBSDT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
I tried this code on my Linux machine:
I got this output:
However, on OpenBSD 7, I got this output:
I expected the output to be the same as Linux: not padded with zeroes like this.
Meta
rustc --version --verbose: