Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
Vim
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Someone-Else
Vim
Commits
bf0c4526
Commit
bf0c4526
authored
15 years ago
by
Bram Moolenaar
Browse files
Options
Downloads
Patches
Plain Diff
updated for version 7.2-179
parent
e1fbddcd
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/ex_cmds2.c
+5
-3
5 additions, 3 deletions
src/ex_cmds2.c
src/version.c
+2
-0
2 additions, 0 deletions
src/version.c
with
7 additions
and
3 deletions
src/ex_cmds2.c
+
5
−
3
View file @
bf0c4526
...
...
@@ -28,7 +28,8 @@ typedef struct scriptitem_S
{
char_u
*
sn_name
;
# ifdef UNIX
int
sn_dev
;
int
sn_dev_valid
;
dev_t
sn_dev
;
ino_t
sn_ino
;
# endif
# ifdef FEAT_PROFILE
...
...
@@ -3049,7 +3050,7 @@ do_source(fname, check_other, is_vimrc)
/* Compare dev/ino when possible, it catches symbolic
* links. Also compare file names, the inode may change
* when the file was edited. */
((
stat_ok
&&
si
->
sn_dev
!=
-
1
)
((
stat_ok
&&
si
->
sn_dev
_valid
)
&&
(
si
->
sn_dev
==
st
.
st_dev
&&
si
->
sn_ino
==
st
.
st_ino
))
||
# endif
...
...
@@ -3076,11 +3077,12 @@ do_source(fname, check_other, is_vimrc)
# ifdef UNIX
if
(
stat_ok
)
{
si
->
sn_dev_valid
=
TRUE
;
si
->
sn_dev
=
st
.
st_dev
;
si
->
sn_ino
=
st
.
st_ino
;
}
else
si
->
sn_dev
=
-
1
;
si
->
sn_dev
_valid
=
FALSE
;
# endif
/* Allocate the local script variables to use for this script. */
...
...
This diff is collapsed.
Click to expand it.
src/version.c
+
2
−
0
View file @
bf0c4526
...
...
@@ -676,6 +676,8 @@ static char *(features[]) =
static
int
included_patches
[]
=
{
/* Add new patch number below this line */
/**/
179
,
/**/
178
,
/**/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment