summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-11-22 09:21:22 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2018-11-22 09:24:51 -0800
commit5773470ff3a85640fbaeab1a88edc3fa395184bd (patch)
treeeff420595f2bf7125d705f2f826a54360127d1c6 /modules
parenta344d9937bb7edfbfbea13dca1569fcdcad25ac2 (diff)
downloademacs-5773470ff3a85640fbaeab1a88edc3fa395184bd.tar.gz
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.
Diffstat (limited to 'modules')
0 files changed, 0 insertions, 0 deletions