]>
Commit | Line | Data |
---|---|---|
c6060300 MT |
1 | To: vim_dev@googlegroups.com |
2 | Subject: Patch 7.3.082 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.3.082 | |
11 | Problem: Leaking file descriptor when hostname doesn't exist. | |
12 | Solution: Remove old debugging lines. | |
13 | Files: 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 | -- | |
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. | |
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 /// |