From ed2a1313f9b6a8f8f8424072f6bd5b69d646e54e Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Wed, 24 Mar 2004 18:56:22 +0000 Subject: 61. Removed fontstosfnt from build as it is not ready and working, yet (Egbert Eich). 60. Fixed error checking in the unix socket creation code so it doesn't mistakenly always send an EADDRINUSE (Bugzilla #363, Jeremy Katz). --- Xtranssock.c | 7 ++++--- Xtransutil.c | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Xtranssock.c b/Xtranssock.c index 4a5afae..3b9aa51 100644 --- a/Xtranssock.c +++ b/Xtranssock.c @@ -865,9 +865,10 @@ TRANS(SocketCreateListener) (XtransConnInfo ciptr, if (errno == EADDRINUSE) { if (flags & ADDR_IN_USE_ALLOWED) break; - } else - return TRANS_ADDR_IN_USE; - + else + return TRANS_ADDR_IN_USE; + } + if (retry-- == 0) { PRMSG (1, "SocketCreateListener: failed to bind listener\n", 0, 0, 0); diff --git a/Xtransutil.c b/Xtransutil.c index d84b1a8..865c20f 100644 --- a/Xtransutil.c +++ b/Xtransutil.c @@ -573,14 +573,14 @@ trans_mkdir(char *path, int mode) if (updateOwner && !updatedOwner) { PRMSG(1, "mkdir: Owner of %s should be set to root\n", path, 0, 0); -#if !defined(__CYGWIN__) && !defined(__DARWIN__) +#if 0 && !defined(__CYGWIN__) && !defined(__DARWIN__) sleep(5); #endif } if (updateMode && !updatedMode) { PRMSG(1, "mkdir: Mode of %s should be set to %04o\n", path, mode, 0); -#if !defined(__CYGWIN__) && !defined(__DARWIN__) +#if 0 && !defined(__CYGWIN__) && !defined(__DARWIN__) sleep(5); #endif } -- cgit v1.2.3