Files
rust/src/libstd
bors 38e251ba37 Auto merge of #50079 - NickAtAccuPS:android_abstract_socket, r=sfackler
Android abstract unix domain sockets AddressKind correction

The prior check causes abstract unix domain sockets to return AddressKind::Unnamed instead of AddressKind::Abstract on Android.

Other than the immediately proceeding comment "macOS seems to return a len of 16 and a zeroed sun_path for unnamed addresses" the check as-implemented does not seem to have alternative explanation. I couldn't find an alternative explanation while stepping though git blame. I suspect the AddressKind::Unnamed nonzero check should instead be if macos, length 16, and zeroed array. @sfackler could you comment on this, the code as-is is the same from your initial addition of abstract uds support.
2018-04-24 14:15:56 +00:00
..
2018-03-11 10:59:28 -07:00
2018-03-11 10:59:28 -07:00
2018-04-05 15:39:29 +01:00
2018-04-02 09:33:27 -07:00
2017-08-24 18:42:53 +02:00
2018-04-05 13:04:00 +02:00
2018-03-19 11:41:28 +09:00
2018-03-30 15:35:36 +02:00