0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.3.082

Problem:    Leaking file descriptor when hostname doesn't exist.
Solution:   Remove old debugging lines.
This commit is contained in:
Bram Moolenaar
2010-12-17 12:19:21 +01:00
parent 81af9250a7
commit 45d9d02d71
2 changed files with 2 additions and 6 deletions

View 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;

View File

@@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
82,
/**/
81,
/**/