Procházet zdrojové kódy

Let buffer for current path be auto-allocated

master
Arun Prakash Jana před 4 roky
rodič
revize
55f2a0823a
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: A75979F35C080412
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      src/nnn.c

+ 1
- 1
src/nnn.c Zobrazit soubor

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


Načítá se…
Zrušit
Uložit