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 -- Br...@Moolenaar.net --
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 ///