Patch 8.0.1629
Problem:    Mac: getpagesize() is deprecated.
Solution:   Use sysconf() instead. (Ozaki Kiichi, closes #2741)
Files:      src/os_unix.c


*** ../vim-8.0.1628/src/os_unix.c       2018-03-17 13:15:11.358123941 +0100
--- src/os_unix.c       2018-03-22 21:41:59.850587611 +0100
***************
*** 603,609 ****
  #  ifdef MAC_OS_X_VERSION_10_9
                                            + vm_stat.compressor_page_count
  #  endif
!                                           ) * getpagesize();
        mach_port_deallocate(mach_task_self(), host);
      }
  # endif
--- 603,609 ----
  #  ifdef MAC_OS_X_VERSION_10_9
                                            + vm_stat.compressor_page_count
  #  endif
!                                           ) * sysconf(_SC_PAGESIZE);
        mach_port_deallocate(mach_task_self(), host);
      }
  # endif
*** ../vim-8.0.1628/src/version.c       2018-03-22 20:33:39.408033761 +0100
--- src/version.c       2018-03-22 21:43:13.994088525 +0100
***************
*** 768,769 ****
--- 768,771 ----
  {   /* Add new patch number below this line */
+ /**/
+     1629,
  /**/

-- 
The 50-50-90 rule: Anytime you have a 50-50 chance of getting
something right, there's a 90% probability you'll get it wrong.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui