Commit 5773470f authored by Paul Eggert's avatar Paul Eggert

emacsclient: sockaddr portability fixes

* lib-src/emacsclient.c (get_server_config, set_tcp_socket)
(set_local_socket): Initialize any platform-specific extensions
of struct to zero, just in case.
(set_tcp_socket, set_local_socket): Don’t assume struct
layout details that POSIX does not specify.
Use union to sidestep some problems with strict aliasing.
Remove unnecessary casts.
parent a344d993
Pipeline #118 failed with stage
in 22 minutes and 3 seconds