]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.082 v7.3.082
authorBram Moolenaar <Bram@vim.org>
Fri, 17 Dec 2010 11:19:21 +0000 (12:19 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 17 Dec 2010 11:19:21 +0000 (12:19 +0100)
Problem:    Leaking file descriptor when hostname doesn't exist.
Solution:   Remove old debugging lines.

src/netbeans.c
src/version.c

index 853df364affc393a6afc9d51c208b2bc969c5b0c..f85e7d07da363095e7db49b02131c2fe514c6dd8 100644 (file)
@@ -323,12 +323,6 @@ netbeans_connect(char *params, int doabort)
     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;
index 13cd448b5ab88e026a983bca9a4811ee07139487..e3cb9e505354782578047a2818beaa1df6f0054b 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    82,
 /**/
     81,
 /**/