Karsten Hopp e2bb21
To: vim_dev@googlegroups.com
Karsten Hopp e2bb21
Subject: Patch 7.3.369
Karsten Hopp e2bb21
Fcc: outbox
Karsten Hopp e2bb21
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp e2bb21
Mime-Version: 1.0
Karsten Hopp e2bb21
Content-Type: text/plain; charset=UTF-8
Karsten Hopp e2bb21
Content-Transfer-Encoding: 8bit
Karsten Hopp e2bb21
------------
Karsten Hopp e2bb21
Karsten Hopp e2bb21
Patch 7.3.369
Karsten Hopp e2bb21
Problem:    When compiled with Gnome get an error message when using --help.
Karsten Hopp e2bb21
Solution:   Don't fork. (Ivan Krasilnikov)
Karsten Hopp e2bb21
Files:	    src/main.c
Karsten Hopp e2bb21
Karsten Hopp e2bb21
Karsten Hopp e2bb21
*** ../vim-7.3.368/src/main.c	2011-10-04 16:43:49.000000000 +0200
Karsten Hopp e2bb21
--- src/main.c	2011-12-01 20:27:11.000000000 +0100
Karsten Hopp e2bb21
***************
Karsten Hopp e2bb21
*** 3294,3300 ****
Karsten Hopp e2bb21
--- 3294,3303 ----
Karsten Hopp e2bb21
  #ifdef FEAT_GUI_GNOME
Karsten Hopp e2bb21
      /* Gnome gives extra messages for --help if we continue, but not for -h. */
Karsten Hopp e2bb21
      if (gui.starting)
Karsten Hopp e2bb21
+     {
Karsten Hopp e2bb21
  	mch_msg("\n");
Karsten Hopp e2bb21
+ 	gui.dofork = FALSE;
Karsten Hopp e2bb21
+     }
Karsten Hopp e2bb21
      else
Karsten Hopp e2bb21
  #endif
Karsten Hopp e2bb21
  	mch_exit(0);
Karsten Hopp e2bb21
*** ../vim-7.3.368/src/version.c	2011-12-08 15:17:28.000000000 +0100
Karsten Hopp e2bb21
--- src/version.c	2011-12-08 15:57:03.000000000 +0100
Karsten Hopp e2bb21
***************
Karsten Hopp e2bb21
*** 716,717 ****
Karsten Hopp e2bb21
--- 716,719 ----
Karsten Hopp e2bb21
  {   /* Add new patch number below this line */
Karsten Hopp e2bb21
+ /**/
Karsten Hopp e2bb21
+     369,
Karsten Hopp e2bb21
  /**/
Karsten Hopp e2bb21
Karsten Hopp e2bb21
-- 
Karsten Hopp e2bb21
Vi is clearly superior to emacs, since "vi" has only two characters
Karsten Hopp e2bb21
(and two keystrokes), while "emacs" has five.  (Randy C. Ford)
Karsten Hopp e2bb21
Karsten Hopp e2bb21
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp e2bb21
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp e2bb21
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp e2bb21
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///