Mercurial > emacs
comparison src/process.c @ 45099:8a33d836b6fb
(Fmake_network_process): Only support server sockets
when we can make them non-blocking.
| author | Jason Rumney <jasonr@gnu.org> |
|---|---|
| date | Fri, 03 May 2002 21:24:27 +0000 |
| parents | 084928cfcfcb |
| children | cc30538ffb5c |
comparison
equal
deleted
inserted
replaced
| 45098:06120f91eb06 | 45099:8a33d836b6fb |
|---|---|
| 2588 | 2588 |
| 2589 /* :server BOOL */ | 2589 /* :server BOOL */ |
| 2590 tem = Fplist_get (contact, QCserver); | 2590 tem = Fplist_get (contact, QCserver); |
| 2591 if (!NILP (tem)) | 2591 if (!NILP (tem)) |
| 2592 { | 2592 { |
| 2593 #ifdef TERM | 2593 /* Don't support network sockets when non-blocking mode is |
| 2594 not available, since a blocked Emacs is not useful. */ | |
| 2595 #if defined(TERM) || (!defined(O_NONBLOCK) && !defined(O_NDELAY)) | |
| 2594 error ("Network servers not supported"); | 2596 error ("Network servers not supported"); |
| 2595 #else | 2597 #else |
| 2596 is_server = 1; | 2598 is_server = 1; |
| 2597 #endif | 2599 #endif |
| 2598 } | 2600 } |
