]> git.pld-linux.org Git - packages/vim.git/blob - 7.0.052
- updated to 0.7.3
[packages/vim.git] / 7.0.052
1 To: vim-dev@vim.org
2 Subject: Patch 7.0.052
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.0.052
11 Problem:    The user may not be aware that the Vim server allows others more
12             functionality than desired.
13 Solution:   When running Vim as root don't become a Vim server without an
14             explicit --servername argument.
15 Files:      src/main.c
16
17
18 *** ../vim-7.0.051/src/main.c   Mon Jun 19 10:56:20 2006
19 --- src/main.c  Tue Aug  8 11:02:44 2006
20 ***************
21 *** 3212,3221 ****
22        * Register for remote command execution with :serversend and --remote
23        * unless there was a -X or a --servername '' on the command line.
24        * Only register nongui-vim's with an explicit --servername argument.
25        */
26       if (X_DISPLAY != NULL && parmp->servername != NULL && (
27   #  ifdef FEAT_GUI
28 !               gui.in_use ||
29   #  endif
30                 parmp->serverName_arg != NULL))
31       {
32 --- 3212,3226 ----
33        * Register for remote command execution with :serversend and --remote
34        * unless there was a -X or a --servername '' on the command line.
35        * Only register nongui-vim's with an explicit --servername argument.
36 +      * When running as root --servername is also required.
37        */
38       if (X_DISPLAY != NULL && parmp->servername != NULL && (
39   #  ifdef FEAT_GUI
40 !               (gui.in_use
41 ! #   ifdef UNIX
42 !                && getuid() != 0
43 ! #   endif
44 !               ) ||
45   #  endif
46                 parmp->serverName_arg != NULL))
47       {
48 *** ../vim-7.0.051/src/version.c        Fri Aug 11 22:56:44 2006
49 --- src/version.c       Tue Aug 15 21:41:24 2006
50 ***************
51 *** 668,669 ****
52 --- 668,671 ----
53   {   /* Add new patch number below this line */
54 + /**/
55 +     52,
56   /**/
57
58 -- 
59 hundred-and-one symptoms of being an internet addict:
60 148. You find it easier to dial-up the National Weather Service
61      Weather/your_town/now.html than to simply look out the window.
62
63  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
64 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
65 \\\        download, build and distribute -- http://www.A-A-P.org        ///
66  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.033615 seconds and 3 git commands to generate.