Patch 8.2.1370
Problem:    MS-Windows: warning for using fstat() with stat_T.
Solution:   use _fstat64() if available. (Naruhiko Nishino, closes #6625)
Files:      src/macros.h


*** ../vim-8.2.1369/src/macros.h        2020-06-09 19:34:51.485836791 +0200
--- src/macros.h        2020-08-05 12:06:21.563550262 +0200
***************
*** 166,172 ****
  # ifndef MSWIN
  #   define mch_access(n, p)   access((n), (p))
  # endif
! # define mch_fstat(n, p)      fstat((n), (p))
  # ifdef MSWIN // has its own mch_stat() function
  #  define mch_stat(n, p)      vim_stat((n), (p))
  # else
--- 166,180 ----
  # ifndef MSWIN
  #   define mch_access(n, p)   access((n), (p))
  # endif
! 
! // Use 64-bit fstat function if available.
! // NOTE: This condition is the same as for the stat_T type.
! # if (defined(_MSC_VER) && (_MSC_VER >= 1300)) || defined(__MINGW32__)
! #  define mch_fstat(n, p)     _fstat64((n), (p))
! # else
! #  define mch_fstat(n, p)     fstat((n), (p))
! # endif
! 
  # ifdef MSWIN // has its own mch_stat() function
  #  define mch_stat(n, p)      vim_stat((n), (p))
  # else
*** ../vim-8.2.1369/src/version.c       2020-08-05 12:02:36.604150364 +0200
--- src/version.c       2020-08-05 12:08:46.795159451 +0200
***************
*** 756,757 ****
--- 756,759 ----
  {   /* Add new patch number below this line */
+ /**/
+     1370,
  /**/

-- 
I'm writing a book.  I've got the page numbers done.

 /// 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202008051011.075ABKQT3256559%40masaka.moolenaar.net.

Raspunde prin e-mail lui