# HG changeset patch # User Bram Moolenaar # Date 1292584761 -3600 # Node ID fd3346e3ccc02a11f0c2fa9c2c7351b3cead3941 # Parent 916c90b37ea9adbe7dc1e866f85c6e5b49cfba25 updated for version 7.3.082 Problem: Leaking file descriptor when hostname doesn't exist. Solution: Remove old debugging lines. diff --git a/src/netbeans.c b/src/netbeans.c --- a/src/netbeans.c +++ b/src/netbeans.c @@ -323,12 +323,6 @@ netbeans_connect(char *params, int doabo server.sin_port = htons(port); if ((host = gethostbyname(hostname)) == NULL) { - if (mch_access(hostname, R_OK) >= 0) - { - /* DEBUG: input file */ - sd = mch_open(hostname, O_RDONLY, 0); - goto theend; - } nbdebug(("error in gethostbyname() in netbeans_connect()\n")); PERROR("gethostbyname() in netbeans_connect()"); goto theend; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 82, +/**/ 81, /**/ 80,