Karsten Hopp 81c285
To: vim-dev@vim.org
Karsten Hopp 81c285
Subject: Patch 7.2.175
Karsten Hopp 81c285
Fcc: outbox
Karsten Hopp 81c285
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 81c285
Mime-Version: 1.0
Karsten Hopp 81c285
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 81c285
Content-Transfer-Encoding: 8bit
Karsten Hopp 81c285
------------
Karsten Hopp 81c285
Karsten Hopp 81c285
Patch 7.2.175
Karsten Hopp 81c285
Problem:    Compiler warning in OpenBSD.
Karsten Hopp 81c285
Solution:   Add type cast for NULL. (Dasn)
Karsten Hopp 81c285
Files:	    src/if_cscope.c
Karsten Hopp 81c285
Karsten Hopp 81c285
Karsten Hopp 81c285
*** ../vim-7.2.174/src/if_cscope.c	2009-04-22 16:22:44.000000000 +0200
Karsten Hopp 81c285
--- src/if_cscope.c	2009-05-16 16:15:03.000000000 +0200
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 994,1000 ****
Karsten Hopp 81c285
  	vim_free(ppath);
Karsten Hopp 81c285
  
Karsten Hopp 81c285
  #if defined(UNIX)
Karsten Hopp 81c285
! 	if (execl("/bin/sh", "sh", "-c", cmd, NULL) == -1)
Karsten Hopp 81c285
  	    PERROR(_("cs_create_connection exec failed"));
Karsten Hopp 81c285
  
Karsten Hopp 81c285
  	exit(127);
Karsten Hopp 81c285
--- 994,1000 ----
Karsten Hopp 81c285
  	vim_free(ppath);
Karsten Hopp 81c285
  
Karsten Hopp 81c285
  #if defined(UNIX)
Karsten Hopp 81c285
! 	if (execl("/bin/sh", "sh", "-c", cmd, (char *)NULL) == -1)
Karsten Hopp 81c285
  	    PERROR(_("cs_create_connection exec failed"));
Karsten Hopp 81c285
  
Karsten Hopp 81c285
  	exit(127);
Karsten Hopp 81c285
*** ../vim-7.2.174/src/version.c	2009-05-15 21:31:11.000000000 +0200
Karsten Hopp 81c285
--- src/version.c	2009-05-16 16:13:15.000000000 +0200
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 678,679 ****
Karsten Hopp 81c285
--- 678,681 ----
Karsten Hopp 81c285
  {   /* Add new patch number below this line */
Karsten Hopp 81c285
+ /**/
Karsten Hopp 81c285
+     175,
Karsten Hopp 81c285
  /**/
Karsten Hopp 81c285
Karsten Hopp 81c285
-- 
Karsten Hopp 81c285
Every time I lose weight, it finds me again!
Karsten Hopp 81c285
Karsten Hopp 81c285
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 81c285
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 81c285
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 81c285
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///