]> git.pld-linux.org Git - packages/vim.git/blame - 6.2.068
- fix for current libselinux
[packages/vim.git] / 6.2.068
CommitLineData
04f0bc09
AF
1To: vim-dev@vim.org
2Subject: Patch 6.2.068
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 6.2.068
11Problem: Events for the netbeans interface that include a file name with
12 special characters don't work properly.
13Solution: Use nb_quote() on the file name. (Sergey Khorev)
14Files: src/netbeans.c
15
16
17*** ../vim-6.2.067/src/netbeans.c Sun Jul 27 14:16:53 2003
18--- src/netbeans.c Sun Aug 10 22:08:26 2003
19***************
20*** 839,844 ****
21--- 832,838 ----
22
23 /*
24 * Send a response with text.
25+ * "result" must have been quoted already (using nb_quote()).
26 */
27 static void
28 nb_reply_text(int cmdno, char_u *result)
29***************
30*** 2136,2142 ****
31
32 sprintf(buffer, "0:fileOpened=%d \"%s\" %s %s\n",
33 0,
34! filename,
35 "F", /* open in NetBeans */
36 "F"); /* modified */
37
38--- 2160,2166 ----
39
40 sprintf(buffer, "0:fileOpened=%d \"%s\" %s %s\n",
41 0,
42! nb_quote((char_u *)filename),
43 "F", /* open in NetBeans */
44 "F"); /* modified */
45
46***************
47*** 2354,2360 ****
48 if (bufno == -1)
49 {
50 nbdebug(("got keycommand for non-NetBeans buffer, opening...\n"));
51! sprintf(buf, "0:fileOpened=%d \"%s\" %s %s\n", 0, curbuf->b_ffname,
52 "T", /* open in NetBeans */
53 "F"); /* modified */
54 nbdebug(("EVT: %s", buf));
55--- 2378,2386 ----
56 if (bufno == -1)
57 {
58 nbdebug(("got keycommand for non-NetBeans buffer, opening...\n"));
59! sprintf(buf, "0:fileOpened=%d \"%s\" %s %s\n", 0,
60! curbuf->b_ffname == NULL ? (char_u *)""
61! : nb_quote(curbuf->b_ffname),
62 "T", /* open in NetBeans */
63 "F"); /* modified */
64 nbdebug(("EVT: %s", buf));
65*** ../vim-6.2.067/src/version.c Sun Aug 10 22:39:59 2003
66--- src/version.c Sun Aug 10 22:42:14 2003
67***************
68*** 632,633 ****
69--- 632,635 ----
70 { /* Add new patch number below this line */
71+ /**/
72+ 68,
73 /**/
74
75--
76From "know your smileys":
77 :-X My lips are sealed
78
79 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
80/// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
81\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
82 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///
This page took 0.033649 seconds and 4 git commands to generate.