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