瀏覽代碼

Let buffer for current path be auto-allocated

master
Arun Prakash Jana 4 年之前
父節點
當前提交
55f2a0823a
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: A75979F35C080412
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/nnn.c

+ 1
- 1
src/nnn.c 查看文件

@@ -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…
取消
儲存