# HG changeset patch # User Jason Rumney # Date 1020461067 0 # Node ID 8a33d836b6fb67a142d1a6ec5e2839a1c899815d # Parent 06120f91eb064395de7b1dbe955b9c1ea42c842c (Fmake_network_process): Only support server sockets when we can make them non-blocking. diff -r 06120f91eb06 -r 8a33d836b6fb src/process.c --- a/src/process.c Fri May 03 20:43:53 2002 +0000 +++ b/src/process.c Fri May 03 21:24:27 2002 +0000 @@ -2590,7 +2590,9 @@ tem = Fplist_get (contact, QCserver); if (!NILP (tem)) { -#ifdef TERM + /* Don't support network sockets when non-blocking mode is + not available, since a blocked Emacs is not useful. */ +#if defined(TERM) || (!defined(O_NONBLOCK) && !defined(O_NDELAY)) error ("Network servers not supported"); #else is_server = 1;