summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/faceup-tests
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-11-22 23:42:50 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2018-11-22 23:46:14 -0800
commit5daba9d8a55d4fa28600f097490bc675eb848957 (patch)
tree0ecad1fdf29941b093464ca456bad21f8ecb1b31 /test/lisp/emacs-lisp/faceup-tests
parent4dc73269561237d04280b0a212eee603f1e73c9f (diff)
downloademacs-5daba9d8a55d4fa28600f097490bc675eb848957.tar.gz
emacs-5daba9d8a55d4fa28600f097490bc675eb848957.tar.bz2
emacs-5daba9d8a55d4fa28600f097490bc675eb848957.zip
emacsclient: tidy socket failure cleanup
* lib-src/emacsclient.c (set_tcp_socket, set_local_socket): Close socket (instead of leaking it) when ‘connect’ fails. (socket_status): Return errno if stat fails and -1 if we don’t own. (set_local_socket): Simplify based on socket_status change.
Diffstat (limited to 'test/lisp/emacs-lisp/faceup-tests')
0 files changed, 0 insertions, 0 deletions