This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
nnn
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Check if file is accessible
master
Arun Prakash Jana
5 years ago
parent
4e58ad318c
commit
67994ff4b2
No known key found for this signature in database
GPG Key ID:
A75979F35C080412
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/nnn.c
+ 1
- 1
src/nnn.c
View File
@@ -5807,7 +5807,7 @@ nochange:
rundir[0] = '\0';
rundir[0] = '\0';
}
}
if (newpath[0])
if (newpath[0]
&& !access(newpath, F_OK)
)
xstrlcpy(lastname, xbasename(newpath), NAME_MAX+1);
xstrlcpy(lastname, xbasename(newpath), NAME_MAX+1);
else if (ndents)
else if (ndents)
copycurname();
copycurname();
Write
Preview
Loading…
Cancel
Save