diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-05-21 17:04:44 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-05-21 17:05:25 -0700 |
commit | f2d03334814cff85013135366a46a85f3124f7f0 (patch) | |
tree | d71374198e8e9f431b9025783a2de326d13be8c6 /lisp/textmodes/css-mode.el | |
parent | e5015c5d9632a0bf685c093249ae4a7d3e825b13 (diff) | |
download | emacs-f2d03334814cff85013135366a46a85f3124f7f0.tar.gz emacs-f2d03334814cff85013135366a46a85f3124f7f0.tar.bz2 emacs-f2d03334814cff85013135366a46a85f3124f7f0.zip |
Prefer SOCK_NONBLOCK to O_NONBLOCK
* src/process.c (SOCK_NONBLOCK): Define to 0 if not already defined.
(connect_network_socket): Create the socket with SOCK_NONBLOCK, to
avoid an fcntl with O_NONBLOCK if SOCK_NONBLOCK works. Put the
SOCK_DGRAM check a bit later, to keep the logic cleaner, as
the order does not matter here.
Diffstat (limited to 'lisp/textmodes/css-mode.el')
0 files changed, 0 insertions, 0 deletions