Selaa lähdekoodia

Let buffer for current path be auto-allocated

master
Arun Prakash Jana 4 vuotta sitten
vanhempi
commit
55f2a0823a
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      src/nnn.c

+ 1
- 1
src/nnn.c Näytä tiedosto

@@ -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 {


Loading…
Peruuta
Tallenna