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:
@@ -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;
|
||||
|
@@ -714,6 +714,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
82,
|
||||
/**/
|
||||
81,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user