1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Leaking file descriptor when hostname doesn't exist.
12 Solution: Remove old debugging lines.
16 *** ../vim-7.3.081/src/netbeans.c 2010-12-08 13:11:15.000000000 +0100
17 --- src/netbeans.c 2010-12-17 12:13:32.000000000 +0100
20 server.sin_port = htons(port);
21 if ((host = gethostbyname(hostname)) == NULL)
23 - if (mch_access(hostname, R_OK) >= 0)
25 - /* DEBUG: input file */
26 - sd = mch_open(hostname, O_RDONLY, 0);
29 nbdebug(("error in gethostbyname() in netbeans_connect()\n"));
30 PERROR("gethostbyname() in netbeans_connect()");
33 *** ../vim-7.3.081/src/version.c 2010-12-08 19:56:52.000000000 +0100
34 --- src/version.c 2010-12-17 12:17:11.000000000 +0100
38 { /* Add new patch number below this line */
44 How To Keep A Healthy Level Of Insanity:
45 1. At lunch time, sit in your parked car with sunglasses on and point
46 a hair dryer at passing cars. See if they slow down.
48 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
49 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
50 \\\ an exciting new programming language -- http://www.Zimbu.org ///
51 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///