]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - vim/patches/vim-7.3.082.patch0
vim: Import latest patches from upstream.
[people/arne_f/ipfire-3.x.git] / vim / patches / vim-7.3.082.patch0
CommitLineData
c6060300
MT
1To: vim_dev@googlegroups.com
2Subject: Patch 7.3.082
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.3.082
11Problem: Leaking file descriptor when hostname doesn't exist.
12Solution: Remove old debugging lines.
13Files: src/netbeans.c
14
15
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
18***************
19*** 323,334 ****
20 server.sin_port = htons(port);
21 if ((host = gethostbyname(hostname)) == NULL)
22 {
23- if (mch_access(hostname, R_OK) >= 0)
24- {
25- /* DEBUG: input file */
26- sd = mch_open(hostname, O_RDONLY, 0);
27- goto theend;
28- }
29 nbdebug(("error in gethostbyname() in netbeans_connect()\n"));
30 PERROR("gethostbyname() in netbeans_connect()");
31 goto theend;
32--- 323,328 ----
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
35***************
36*** 716,717 ****
37--- 716,719 ----
38 { /* Add new patch number below this line */
39+ /**/
40+ 82,
41 /**/
42
43--
44How To Keep A Healthy Level Of Insanity:
451. 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.
47
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 ///