Karsten Hopp 3126cc
To: vim-dev@vim.org
Karsten Hopp 3126cc
Subject: patch 7.1.090
Karsten Hopp 3126cc
Fcc: outbox
Karsten Hopp 3126cc
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 3126cc
Mime-Version: 1.0
Karsten Hopp 3126cc
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 3126cc
Content-Transfer-Encoding: 8bit
Karsten Hopp 3126cc
------------
Karsten Hopp 3126cc
Karsten Hopp 3126cc
Patch 7.1.090
Karsten Hopp 3126cc
Problem:    Compiler warning on Mac OS X 10.5.
Karsten Hopp 3126cc
Solution:   Don't redeclare sigaltstack(). (Hisashi T Fujinaka)
Karsten Hopp 3126cc
Files:	    src/os_unix.c
Karsten Hopp 3126cc
Karsten Hopp 3126cc
Karsten Hopp 3126cc
*** ../vim-7.1.089/src/os_unix.c	Sat Aug 11 22:22:56 2007
Karsten Hopp 3126cc
--- src/os_unix.c	Wed Aug 22 22:28:48 2007
Karsten Hopp 3126cc
***************
Karsten Hopp 3126cc
*** 753,759 ****
Karsten Hopp 3126cc
      if (signal_stack != NULL)
Karsten Hopp 3126cc
      {
Karsten Hopp 3126cc
  # ifdef HAVE_SIGALTSTACK
Karsten Hopp 3126cc
! #  ifdef __APPLE__
Karsten Hopp 3126cc
  	/* missing prototype.  Adding it to osdef?.h.in doesn't work, because
Karsten Hopp 3126cc
  	 * "struct sigaltstack" needs to be declared. */
Karsten Hopp 3126cc
  	extern int sigaltstack __ARGS((const struct sigaltstack *ss, struct sigaltstack *oss));
Karsten Hopp 3126cc
--- 753,760 ----
Karsten Hopp 3126cc
      if (signal_stack != NULL)
Karsten Hopp 3126cc
      {
Karsten Hopp 3126cc
  # ifdef HAVE_SIGALTSTACK
Karsten Hopp 3126cc
! #  if defined(__APPLE__) && (!defined(MAC_OS_X_VERSION_MAX_ALLOWED) \
Karsten Hopp 3126cc
! 		|| MAC_OS_X_VERSION_MAX_ALLOWED <= 1040)
Karsten Hopp 3126cc
  	/* missing prototype.  Adding it to osdef?.h.in doesn't work, because
Karsten Hopp 3126cc
  	 * "struct sigaltstack" needs to be declared. */
Karsten Hopp 3126cc
  	extern int sigaltstack __ARGS((const struct sigaltstack *ss, struct sigaltstack *oss));
Karsten Hopp 3126cc
***************
Karsten Hopp 3126cc
*** 5688,5694 ****
Karsten Hopp 3126cc
  
Karsten Hopp 3126cc
  /*
Karsten Hopp 3126cc
   * Closes connection to gpm
Karsten Hopp 3126cc
!  * returns non-zero if connection succesfully closed
Karsten Hopp 3126cc
   */
Karsten Hopp 3126cc
      static void
Karsten Hopp 3126cc
  gpm_close()
Karsten Hopp 3126cc
--- 5689,5695 ----
Karsten Hopp 3126cc
  
Karsten Hopp 3126cc
  /*
Karsten Hopp 3126cc
   * Closes connection to gpm
Karsten Hopp 3126cc
!  * returns non-zero if connection successfully closed
Karsten Hopp 3126cc
   */
Karsten Hopp 3126cc
      static void
Karsten Hopp 3126cc
  gpm_close()
Karsten Hopp 3126cc
*** ../vim-7.1.089/src/version.c	Thu Aug 30 11:10:38 2007
Karsten Hopp 3126cc
--- src/version.c	Thu Aug 30 11:46:07 2007
Karsten Hopp 3126cc
***************
Karsten Hopp 3126cc
*** 668,669 ****
Karsten Hopp 3126cc
--- 668,671 ----
Karsten Hopp 3126cc
  {   /* Add new patch number below this line */
Karsten Hopp 3126cc
+ /**/
Karsten Hopp 3126cc
+     90,
Karsten Hopp 3126cc
  /**/
Karsten Hopp 3126cc
Karsten Hopp 3126cc
-- 
Karsten Hopp 3126cc
       We're knights of the round table
Karsten Hopp 3126cc
       We dance whene'er we're able
Karsten Hopp 3126cc
       We do routines and chorus scenes
Karsten Hopp 3126cc
       With footwork impeccable.
Karsten Hopp 3126cc
       We dine well here in Camelot
Karsten Hopp 3126cc
       We eat ham and jam and spam a lot.
Karsten Hopp 3126cc
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp 3126cc
Karsten Hopp 3126cc
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 3126cc
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 3126cc
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 3126cc
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///