Mercurial > vim
comparison src/gui.c @ 9387:f094d4085014 v7.4.1975
commit https://github.com/vim/vim/commit/8767f52fbfd4f053ce00a978227c95f1d7d323fe
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 1 17:17:39 2016 +0200
patch 7.4.1975
Problem: On MS-Windows large files (> 2Gbyte) cause problems.
Solution: Use "off_T" instead of "off_t". Use "stat_T" instead of "struct
stat". Use 64 bit system functions if available. (Ken Takata)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 01 Jul 2016 17:30:07 +0200 |
parents | 60db35a20823 |
children | fd9727ae3c49 |
comparison
equal
deleted
inserted
replaced
9386:80deab13679b | 9387:f094d4085014 |
---|---|
569 */ | 569 */ |
570 if (p_exrc) | 570 if (p_exrc) |
571 { | 571 { |
572 #ifdef UNIX | 572 #ifdef UNIX |
573 { | 573 { |
574 struct stat s; | 574 stat_T s; |
575 | 575 |
576 /* if ".gvimrc" file is not owned by user, set 'secure' | 576 /* if ".gvimrc" file is not owned by user, set 'secure' |
577 * mode */ | 577 * mode */ |
578 if (mch_stat(GVIMRC_FILE, &s) || s.st_uid != getuid()) | 578 if (mch_stat(GVIMRC_FILE, &s) || s.st_uid != getuid()) |
579 secure = p_secure; | 579 secure = p_secure; |