Problem: Leaking file descriptor when hostname doesn't exist.
Solution: Remove old debugging lines.
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;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 82,
/**/
81,
/**/