Mercurial > vim
changeset 2663:fd3346e3ccc0 v7.3.082
updated for version 7.3.082
Problem: Leaking file descriptor when hostname doesn't exist.
Solution: Remove old debugging lines.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 17 Dec 2010 12:19:21 +0100 |
parents | 916c90b37ea9 |
children | 033e7b49356c |
files | src/netbeans.c src/version.c |
diffstat | 2 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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;