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
Let buffer for current path be auto-allocated
master
Arun Prakash Jana
4 years ago
parent
2e870f3879
commit
55f2a0823a
No known key found for this signature in database
GPG Key ID:
A75979F35C080412
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/nnn.c
+ 1
- 1
src/nnn.c
View File
@@ -7657,7 +7657,7 @@ int main(int argc, char *argv[])
session = NULL;
} else if (argc == optind) {
/* Start in the current directory */
initpath = getcwd(NULL,
PATH_MAX
);
initpath = getcwd(NULL,
0
);
if (!initpath)
initpath = "/";
} else {
Write
Preview
Loading…
Cancel
Save