diff options
| author | Richard M. Stallman <rms@gnu.org> | 1995-06-25 18:57:25 +0000 |
|---|---|---|
| committer | Richard M. Stallman <rms@gnu.org> | 1995-06-25 18:57:25 +0000 |
| commit | 4590788aa92a70d958977e229fa608eaf52143e5 (patch) | |
| tree | d10a7eb3dcc88bccb54d0d231e9a23e33df92e57 /src/process.c | |
| parent | a9db66a4f1f842944907741070816f98cc4fb3eb (diff) | |
| download | emacs-4590788aa92a70d958977e229fa608eaf52143e5.tar.gz | |
(Fopen_network_stream): Sleep 1 sec before connect retry.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c index c37aa1ce9ef..adecb580634 100644 --- a/src/process.c +++ b/src/process.c @@ -1658,6 +1658,10 @@ Fourth arg SERVICE is name of the service desired, or an integer\n\ goto loop; if (errno == EADDRINUSE && retry < 20) { + /* A delay here is needed on some FreeBSD systems, + and it is harmless, since this retrying takes time anyway + and should be infrequent. */ + Fsleep_for (make_number (1), Qnil); retry++; goto loop; } |
