2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

2323. [port] tru64: namespace clash. [RT #17547]

This commit is contained in:
Mark Andrews
2008-01-27 01:58:19 +00:00
parent 29d019169b
commit 7539c231d4
3 changed files with 12 additions and 10 deletions

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: socket.c,v 1.278 2008/01/22 01:06:33 marka Exp $ */
/* $Id: socket.c,v 1.279 2008/01/27 01:58:19 marka Exp $ */
/*! \file */
@@ -1475,7 +1475,7 @@ isc_socket_create(isc_socketmgr_t *manager, int pf, isc_sockettype_t type,
#endif
char strbuf[ISC_STRERRORSIZE];
const char *err = "socket";
int try = 0;
int tries = 0;
REQUIRE(VALID_MANAGER(manager));
REQUIRE(socketp != NULL && *socketp == NULL);
@@ -1500,7 +1500,7 @@ isc_socket_create(isc_socketmgr_t *manager, int pf, isc_sockettype_t type,
INSIST(type != isc_sockettype_fdwatch);
break;
}
if (sock->fd == -1 && errno == EINTR && try++ < 42)
if (sock->fd == -1 && errno == EINTR && tries++ < 42)
goto again;
#ifdef F_DUPFD